Class: Elf::GnuVersion

Inherits:
Object
  • Object
show all
Defined in:
lib/mithril/elf.rb

Overview

def size

@size

end

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#fileObject

Returns the value of attribute file.



103
104
105
# File 'lib/mithril/elf.rb', line 103

def file
  @file
end

#flagsObject

Returns the value of attribute flags.



103
104
105
# File 'lib/mithril/elf.rb', line 103

def flags
  @flags
end

#neededObject

Returns the value of attribute needed.



103
104
105
# File 'lib/mithril/elf.rb', line 103

def needed
  @needed
end

#parentsObject

Returns the value of attribute parents.



104
105
106
# File 'lib/mithril/elf.rb', line 104

def parents
  @parents
end

#versionObject

Returns the value of attribute version.



103
104
105
# File 'lib/mithril/elf.rb', line 103

def version
  @version
end