Module: Trailblazer::V1_1::Operation::Module::ClassMethods

Defined in:
lib/trailblazer/1.1/operation/module.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args, &block) ⇒ Object



21
22
23
# File 'lib/trailblazer/1.1/operation/module.rb', line 21

def method_missing(method, *args, &block)
  instructions << [method, args, block]
end

Instance Method Details

#instructionsObject



25
26
27
# File 'lib/trailblazer/1.1/operation/module.rb', line 25

def instructions
  @instructions ||= []
end