Class: Rupert::RPM::Signature::Entry
- Inherits:
-
Object
- Object
- Rupert::RPM::Signature::Entry
- Defined in:
- lib/rupert/rpm/signature/entry.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
Returns the value of attribute count.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#tag ⇒ Object
Returns the value of attribute tag.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(tag, type, offset, count) ⇒ Entry
constructor
Initializes a new index entry.
Constructor Details
#initialize(tag, type, offset, count) ⇒ Entry
Initializes a new index entry.
11 12 13 |
# File 'lib/rupert/rpm/signature/entry.rb', line 11 def initialize(tag, type, offset, count) @tag, @type, @offset, @count = tag, type, offset, count end |
Instance Attribute Details
#count ⇒ Object
Returns the value of attribute count.
15 16 17 |
# File 'lib/rupert/rpm/signature/entry.rb', line 15 def count @count end |
#offset ⇒ Object
Returns the value of attribute offset.
15 16 17 |
# File 'lib/rupert/rpm/signature/entry.rb', line 15 def offset @offset end |
#tag ⇒ Object
Returns the value of attribute tag.
15 16 17 |
# File 'lib/rupert/rpm/signature/entry.rb', line 15 def tag @tag end |
#type ⇒ Object
Returns the value of attribute type.
15 16 17 |
# File 'lib/rupert/rpm/signature/entry.rb', line 15 def type @type end |