Class: Code::Node::Nothing

Inherits:
Code::Node show all
Defined in:
lib/code/node/nothing.rb

Instance Method Summary collapse

Methods inherited from Code::Node

#resolve

Constructor Details

#initialize(parsed) ⇒ Nothing

Returns a new instance of Nothing.



6
7
# File 'lib/code/node/nothing.rb', line 6

def initialize(parsed)
end

Instance Method Details

#evaluate(**_args) ⇒ Object



9
10
11
# File 'lib/code/node/nothing.rb', line 9

def evaluate(**_args)
  ::Code::Object::Nothing.new
end