Sha256: 19b67c9f38f6c14eaefa2ed91f4da89685a579e518860912077b9d582285d642

Contents?: true

Size: 358 Bytes

Versions: 3

Compression:

Stored size: 358 Bytes

Contents

# frozen_string_literal: true

module Grumlin
  module U
    # TODO: add other start steps
    SUPPORTED_START_STEPS = %w[V addV count fold has out repeat unfold values].freeze

    class << self
      SUPPORTED_START_STEPS.each do |step|
        define_method step do |*args|
          AnonymousStep.new(step, *args)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
grumlin-0.11.0 lib/grumlin/u.rb
grumlin-0.10.1 lib/grumlin/u.rb
grumlin-0.10.0 lib/grumlin/u.rb