Method: Fluxo::Operation::Constructor::ClassMethods#def_Operation

Defined in:
lib/fluxo/operation/constructor.rb

#def_Operation(op_module) ⇒ Object



15
16
17
18
19
20
21
# File 'lib/fluxo/operation/constructor.rb', line 15

def def_Operation(op_module)
  tap do |klass|
    op_module.define_singleton_method(:Operation) do |*attrs|
      klass.Operation(*attrs)
    end
  end
end