Class: Atomy::Code::Quote
Instance Method Summary collapse
- #bytecode(gen, mod) ⇒ Object
-
#initialize(node) ⇒ Quote
constructor
A new instance of Quote.
Constructor Details
#initialize(node) ⇒ Quote
Returns a new instance of Quote.
4 5 6 |
# File 'lib/atomy/code/quote.rb', line 4 def initialize(node) @node = node end |
Instance Method Details
#bytecode(gen, mod) ⇒ Object
8 9 10 |
# File 'lib/atomy/code/quote.rb', line 8 def bytecode(gen, mod) @node.construct(gen) end |