Class: MachO::DylibCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::DylibCommand
- Defined in:
- lib/macho/load_commands.rb
Instance Attribute Summary collapse
-
#compatibility_version ⇒ Object
readonly
Returns the value of attribute compatibility_version.
-
#current_version ⇒ Object
readonly
Returns the value of attribute current_version.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#timestamp ⇒ Object
readonly
Returns the value of attribute timestamp.
Attributes inherited from LoadCommand
Instance Method Summary collapse
-
#initialize(offset, cmd, cmdsize, name, timestamp, current_version, compatibility_version) ⇒ DylibCommand
constructor
A new instance of DylibCommand.
Methods inherited from LoadCommand
Methods inherited from MachOStructure
Constructor Details
#initialize(offset, cmd, cmdsize, name, timestamp, current_version, compatibility_version) ⇒ DylibCommand
Returns a new instance of DylibCommand.
261 262 263 264 265 266 267 268 |
# File 'lib/macho/load_commands.rb', line 261 def initialize(offset, cmd, cmdsize, name, , current_version, compatibility_version) super(offset, cmd, cmdsize) @name = name = @current_version = current_version @compatibility_version = compatibility_version end |
Instance Attribute Details
#compatibility_version ⇒ Object (readonly)
Returns the value of attribute compatibility_version.
256 257 258 |
# File 'lib/macho/load_commands.rb', line 256 def compatibility_version @compatibility_version end |
#current_version ⇒ Object (readonly)
Returns the value of attribute current_version.
256 257 258 |
# File 'lib/macho/load_commands.rb', line 256 def current_version @current_version end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
256 257 258 |
# File 'lib/macho/load_commands.rb', line 256 def name @name end |
#timestamp ⇒ Object (readonly)
Returns the value of attribute timestamp.
256 257 258 |
# File 'lib/macho/load_commands.rb', line 256 def end |