Sha256: 3b4c7a5e9e34aa77817368ae5cd003452c23d67ab09c88e44c8a9a87e4c05bf7

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

# frozen_string_literal: true

module Grumlin
  module Expressions
    module WithOptions
      WITH_OPTIONS = Grumlin.definitions.dig(:expressions, :with_options).freeze

      class << self
        WITH_OPTIONS.each do |k, v|
          define_method k do
            v
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
grumlin-0.15.6 lib/grumlin/expressions/with_options.rb
grumlin-0.15.4 lib/grumlin/expressions/with_options.rb