Class: Elf::GnuVersion
- Inherits:
-
Object
- Object
- Elf::GnuVersion
- Defined in:
- lib/mithril/elf.rb
Overview
def size
@size
end
Instance Attribute Summary collapse
-
#file ⇒ Object
Returns the value of attribute file.
-
#flags ⇒ Object
Returns the value of attribute flags.
-
#needed ⇒ Object
Returns the value of attribute needed.
-
#parents ⇒ Object
Returns the value of attribute parents.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(file, version, flags, needed) ⇒ GnuVersion
constructor
A new instance of GnuVersion.
Constructor Details
#initialize(file, version, flags, needed) ⇒ GnuVersion
Returns a new instance of GnuVersion.
105 106 107 108 |
# File 'lib/mithril/elf.rb', line 105 def initialize(file,version,flags,needed) @file, @version,@flags,@needed = file,version,flags,needed @parents = [] end |
Instance Attribute Details
#file ⇒ Object
Returns the value of attribute file.
103 104 105 |
# File 'lib/mithril/elf.rb', line 103 def file @file end |
#flags ⇒ Object
Returns the value of attribute flags.
103 104 105 |
# File 'lib/mithril/elf.rb', line 103 def flags @flags end |
#needed ⇒ Object
Returns the value of attribute needed.
103 104 105 |
# File 'lib/mithril/elf.rb', line 103 def needed @needed end |
#parents ⇒ Object
Returns the value of attribute parents.
104 105 106 |
# File 'lib/mithril/elf.rb', line 104 def parents @parents end |
#version ⇒ Object
Returns the value of attribute version.
103 104 105 |
# File 'lib/mithril/elf.rb', line 103 def version @version end |