Class: Code::Node::Operation::Operation
- Inherits:
-
Object
- Object
- Code::Node::Operation::Operation
- Defined in:
- lib/code/node/operation.rb
Instance Attribute Summary collapse
-
#operator ⇒ Object
readonly
Returns the value of attribute operator.
-
#statement ⇒ Object
readonly
Returns the value of attribute statement.
Instance Method Summary collapse
-
#initialize(operation) ⇒ Operation
constructor
A new instance of Operation.
Constructor Details
Instance Attribute Details
#operator ⇒ Object (readonly)
Returns the value of attribute operator.
5 6 7 |
# File 'lib/code/node/operation.rb', line 5 def operator @operator end |
#statement ⇒ Object (readonly)
Returns the value of attribute statement.
5 6 7 |
# File 'lib/code/node/operation.rb', line 5 def statement @statement end |