Class: Elf::Dynamic::Type
Defined Under Namespace
Classes: Unknown
Constant Summary collapse
- OsSpecific =
0x60000000..0x6fffffff
- ProcSpecific =
0x70000000..0x7fffffff
- SpecialRanges =
{ "DT_LOOS" => OsSpecific, "DT_LOPROC" => ProcSpecific }
Instance Attribute Summary collapse
-
#attribute ⇒ Object
readonly
Returns the value of attribute attribute.
Attributes inherited from Value
Instance Method Summary collapse
-
#initialize(val, params) ⇒ Type
constructor
A new instance of Type.
Methods inherited from Value
#==, [], each, from_string, has_key?
Constructor Details
#initialize(val, params) ⇒ Type
Returns a new instance of Type.
42 43 44 45 46 |
# File 'lib/elf/dynamic.rb', line 42 def initialize(val, params) super(val, params) @attribute = params[2] end |
Instance Attribute Details
#attribute ⇒ Object (readonly)
Returns the value of attribute attribute.
40 41 42 |
# File 'lib/elf/dynamic.rb', line 40 def attribute @attribute end |