Class: Integer
Instance Method Summary collapse
Instance Method Details
#immediate_value? ⇒ Boolean
102 103 104 |
# File 'lib/wilson.rb', line 102 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
96 97 98 99 100 |
# File 'lib/wilson.rb', line 96 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 |