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
3 4 5 |
# File 'lib/rpm/transaction.rb', line 3 def amount @amount end |
#key ⇒ Object
Returns the value of attribute key
3 4 5 |
# File 'lib/rpm/transaction.rb', line 3 def key @key end |
#package ⇒ Object
Returns the value of attribute package
3 4 5 |
# File 'lib/rpm/transaction.rb', line 3 def package @package end |
#total ⇒ Object
Returns the value of attribute total
3 4 5 |
# File 'lib/rpm/transaction.rb', line 3 def total @total end |
#type ⇒ Object
Returns the value of attribute type
3 4 5 |
# File 'lib/rpm/transaction.rb', line 3 def type @type end |
Instance Method Details
#to_s ⇒ Object
4 5 6 |
# File 'lib/rpm/transaction.rb', line 4 def to_s "#{type} #{key} #{package} #{amount} #{total}" end |