Class: Lucio::Operator::Macro
- Inherits:
-
Object
- Object
- Lucio::Operator::Macro
- Defined in:
- lib/lucio/operators/macro.rb,
lib/lucio/operators/operator.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
- #execute(*params) ⇒ Object
-
#initialize ⇒ Macro
constructor
A new instance of Macro.
Constructor Details
#initialize ⇒ Macro
Returns a new instance of Macro.
6 7 8 |
# File 'lib/lucio/operators/macro.rb', line 6 def initialize @type = :macro end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
4 5 6 |
# File 'lib/lucio/operators/macro.rb', line 4 def type @type end |
Instance Method Details
#execute(*params) ⇒ Object
10 11 12 |
# File 'lib/lucio/operators/macro.rb', line 10 def execute(*params) raise "Operator not implemented" end |