Class: Integer

Inherits:
Object show all
Defined in:
lib/wilson.rb

Instance Method Summary collapse

Instance Method Details

#immediate_value?Boolean

Returns:

  • (Boolean)


1145
1146
1147
# File 'lib/wilson.rb', line 1145

def immediate_value?
  true
end

#inspectObject



1149
1150
1151
# File 'lib/wilson.rb', line 1149

def inspect
  "0x#{to_s 16}"
end

#mObject



1139
1140
1141
1142
1143
# File 'lib/wilson.rb', line 1139

def m
  address = Wilson::Address.new
  address.offset = self
  address
end