Class: Code::Node::Nothing
Instance Method Summary collapse
- #evaluate(**_args) ⇒ Object
-
#initialize(parsed) ⇒ Nothing
constructor
A new instance of Nothing.
Constructor Details
#initialize(parsed) ⇒ Nothing
Returns a new instance of Nothing.
6 7 8 9 10 |
# File 'lib/code/node/nothing.rb', line 6 def initialize(parsed) return if parsed.blank? @nothing = parsed.presence end |