Class: Code::Node::Nothing

Inherits:
Object
  • Object
show all
Defined in:
lib/code/node/nothing.rb

Instance Method Summary collapse

Constructor Details

#initializeNothing

Returns a new instance of Nothing.



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

def initialize
end

Instance Method Details

#evaluate(_context) ⇒ Object



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

def evaluate(_context)
  ::Code::Object::Nothing.new
end