Class: DInstaller::Progress::Step

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

Overview

Step of the progress

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, description) ⇒ Step

Constructor

Parameters:



65
66
67
68
# File 'lib/dinstaller/progress.rb', line 65

def initialize(id, description)
  @id = id
  @description = description
end

Instance Attribute Details

#descriptionString (readonly)

Description of the step

Returns:



59
60
61
# File 'lib/dinstaller/progress.rb', line 59

def description
  @description
end

#idInteger (readonly)

Id of the step

Returns:



54
55
56
# File 'lib/dinstaller/progress.rb', line 54

def id
  @id
end