Class: RPM::CallbackData
- Inherits:
-
Struct
- Object
- Struct
- RPM::CallbackData
- Defined in:
- lib/rpm/transaction.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#key ⇒ Object
Returns the value of attribute key.
-
#package ⇒ Object
Returns the value of attribute package.
-
#total ⇒ Object
Returns the value of attribute total.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount
5 6 7 |
# File 'lib/rpm/transaction.rb', line 5 def amount @amount end |
#key ⇒ Object
Returns the value of attribute key
5 6 7 |
# File 'lib/rpm/transaction.rb', line 5 def key @key end |
#package ⇒ Object
Returns the value of attribute package
5 6 7 |
# File 'lib/rpm/transaction.rb', line 5 def package @package end |
#total ⇒ Object
Returns the value of attribute total
5 6 7 |
# File 'lib/rpm/transaction.rb', line 5 def total @total end |
#type ⇒ Object
Returns the value of attribute type
5 6 7 |
# File 'lib/rpm/transaction.rb', line 5 def type @type end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/rpm/transaction.rb', line 8 def to_s "#{type} #{key} #{package} #{amount} #{total}" end |