Class: Integer
Instance Method Summary collapse
Instance Method Details
#immediate_value? ⇒ Boolean
88 89 90 |
# File 'lib/wilson.rb', line 88 def immediate_value? true end |
#inspect ⇒ Object
27 28 29 |
# File 'lib/wilson.rb', line 27 def inspect "0x#{to_s 16}" end |
#m ⇒ Object
82 83 84 85 86 |
# File 'lib/wilson.rb', line 82 def m address = Wilson::Address.new address.offset = self address end |
#r ⇒ Object
23 24 25 |
# File 'lib/wilson.rb', line 23 def r (self.object_id << 1) + 1 end |