Sha256: c2fa6ef6516534a8efb6ef0698a29fb06e534b5f6a0fbb68188bcd7058541f9a

Contents?: true

Size: 386 Bytes

Versions: 2

Compression:

Stored size: 386 Bytes

Contents

# frozen_string_literal: true

module Grumlin
  module Expressions
    # The module is called U because Underscore and implements __
    module U
      class << self
        Grumlin::AnonymousStep::SUPPORTED_STEPS.each do |step|
          define_method step do |*args, **params|
            AnonymousStep.new(step, *args, **params)
          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/u.rb
grumlin-0.15.4 lib/grumlin/expressions/u.rb