class SyntaxTree::YARV::PutNil
### Summary
‘putnil` pushes a global nil object onto the stack.
### Usage
~~~ruby nil ~~~
Public Instance Methods
Source
# File lib/syntax_tree/yarv/instructions.rb, line 4597 def ==(other) other.is_a?(PutNil) end
Source
# File lib/syntax_tree/yarv/instructions.rb, line 4609 def call(vm) canonical.call(vm) end
Source
# File lib/syntax_tree/yarv/instructions.rb, line 4605 def canonical PutObject.new(nil) end
Source
# File lib/syntax_tree/yarv/instructions.rb, line 4593 def deconstruct_keys(_keys) {} end
Source
# File lib/syntax_tree/yarv/instructions.rb, line 4585 def disasm(fmt) fmt.instruction("putnil") end
Source
# File lib/syntax_tree/yarv/instructions.rb, line 4613 def side_effects? false end
Source
# File lib/syntax_tree/yarv/instructions.rb, line 4589 def to_a(_iseq) [:putnil] end