Class: Code::Node::Nothing

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

Instance Method Summary collapse

Constructor Details

#initialize(parsed) ⇒ Nothing

Returns a new instance of Nothing.



4
5
# File 'lib/code/node/nothing.rb', line 4

def initialize(parsed)
end

Instance Method Details

#evaluate(**args) ⇒ Object



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

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