Class: RPM::CallbackData

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

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Number) amount

Progress

Returns:

  • (Number)

    the current value of amount



20
21
22
# File 'lib/rpm.rb', line 20

def amount
  @amount
end

- (Number) key

Key transactions

Returns:

  • (Number)

    the current value of key



20
21
22
# File 'lib/rpm.rb', line 20

def key
  @key
end

- (Package) package

Package being processed

Returns:

  • (Package)

    the current value of package



20
21
22
# File 'lib/rpm.rb', line 20

def package
  @package
end

- (Number) total

Total size

Returns:

  • (Number)

    the current value of total



20
21
22
# File 'lib/rpm.rb', line 20

def total
  @total
end

- (Number) type

Type of event

Returns:

  • (Number)

    the current value of type



20
21
22
# File 'lib/rpm.rb', line 20

def type
  @type
end