Module: Usine

Extended by:
Uber::InheritableAttr
Defined in:
lib/usine.rb,
lib/usine/utils.rb,
lib/usine/version.rb,
lib/usine/null_model.rb,
lib/usine/operation_factory.rb,
lib/usine/operation_wrapper.rb

Defined Under Namespace

Classes: NullModel, OperationFactory, OperationWrapper, Utils

Constant Summary collapse

VERSION =
"1.3.0"

Class Method Summary collapse

Class Method Details

.operation(operation, *args, &block) ⇒ Object



23
24
25
# File 'lib/usine.rb', line 23

def operation(operation, *args, &block)
  self.operations << OperationFactory.new(operation, &block)
end