Class: Dvi::Opcode::Push
Overview
Push is a class for push opcode.
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#interpret(ps) ⇒ Object
186 187 188 189 |
# File 'lib/dvi/opcode.rb', line 186 def interpret(ps) # push current registry to the stack. ps.stack.push([ps.h, ps.v, ps.w, ps.x, ps.y, ps.z]) end |