app/controllers/concerns/logic_settings.rb
# frozen_string_literal: true
module LogicSettings
extend ActiveSupport::Concern
included do
# it must: :not_null
# it must!: :not_null
# it must_be: :not_null
# it is?: :not_null
#
# subject 'ikkiuchi'
# pp 'hello world!' if it is?: :not_null
# pp 'hello world!' if it.must! :not_null
logic :not_null, -> { !nil? }, fail: :invalid_token
end
end