Class: C3DCI::DCI::Type::Context
- Inherits:
-
Object
- Object
- C3DCI::DCI::Type::Context
- Defined in:
- lib/c3-dci/dci/type.rb
Class Method Summary collapse
-
.call(*args) ⇒ Object
helper method to instantiate and call ‘call’ a context in one step the ‘call’ instance method MUST BE implemented!.
Class Method Details
.call(*args) ⇒ Object
helper method to instantiate and call ‘call’ a context in one step the ‘call’ instance method MUST BE implemented!
13 14 15 16 17 18 19 |
# File 'lib/c3-dci/dci/type.rb', line 13 def self.call *args if args.empty? new.call else new(*args).call end end |