Class: Code::Node::Not
- Inherits:
-
Code::Node
- Object
- Code::Node
- Code::Node::Not
- Defined in:
- lib/code/node/not.rb
Instance Method Summary collapse
- #evaluate(**args) ⇒ Object
-
#initialize(parsed) ⇒ Not
constructor
A new instance of Not.
Constructor Details
Instance Method Details
#evaluate(**args) ⇒ Object
10 11 12 |
# File 'lib/code/node/not.rb', line 10 def evaluate(**args) @right.evaluate(**args).call(operator: @operator, arguments: [], **args) end |