Class: Lignite::Gteq32
Overview
Greater-than-or-equal (32 bit)
Instance Method Summary collapse
- #cond_jump(compiler, offset) ⇒ Object
-
#initialize(a, b) ⇒ Gteq32
constructor
A new instance of Gteq32.
- #not ⇒ Object
Methods inherited from Condition
Constructor Details
#initialize(a, b) ⇒ Gteq32
Returns a new instance of Gteq32.
73 74 75 76 |
# File 'lib/lignite/condition.rb', line 73 def initialize(a, b) @a = a @b = b end |
Instance Method Details
#cond_jump(compiler, offset) ⇒ Object
82 83 84 |
# File 'lib/lignite/condition.rb', line 82 def cond_jump(compiler, offset) compiler.jr_gteq32(@a, @b, JumpOffset.new(offset)) end |