Class: TestML::None
Overview
Instance Attribute Summary
Attributes inherited from Object
Instance Method Summary collapse
- #bool ⇒ Object
-
#initialize ⇒ None
constructor
A new instance of None.
- #list ⇒ Object
- #num ⇒ Object
- #str ⇒ Object
Methods inherited from Object
Constructor Details
#initialize ⇒ None
Returns a new instance of None.
471 472 473 |
# File 'lib/testml/runtime.rb', line 471 def initialize super(nil) end |
Instance Method Details
#bool ⇒ Object
480 481 482 |
# File 'lib/testml/runtime.rb', line 480 def bool TestML::Constant::False end |
#list ⇒ Object
483 484 485 |
# File 'lib/testml/runtime.rb', line 483 def list TestML::List.new [] end |
#num ⇒ Object
477 478 479 |
# File 'lib/testml/runtime.rb', line 477 def num TestML::Num.new(0) end |
#str ⇒ Object
474 475 476 |
# File 'lib/testml/runtime.rb', line 474 def str TestML::Str.new('') end |