Class: SystemRDL::Model::HexValue

Inherits:
Value
  • Object
show all
Defined in:
lib/systemrdl/model/value.rb

Instance Attribute Summary

Attributes inherited from Value

#instance, #name, #token_range, #value

Instance Method Summary collapse

Methods inherited from Value

#full_name, #inspect, #pretty_print

Instance Method Details

#to_sObject



43
44
45
# File 'lib/systemrdl/model/value.rb', line 43

def to_s
  "0x#{value.to_s(16)}"
end