Class: EnolaRb::Installer::Report
- Inherits:
-
Struct
- Object
- Struct
- EnolaRb::Installer::Report
- Defined in:
- lib/enola_rb/installer.rb
Instance Attribute Summary collapse
-
#bound ⇒ Object
Returns the value of attribute bound.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#unbound ⇒ Object
Returns the value of attribute unbound.
-
#written ⇒ Object
Returns the value of attribute written.
Instance Method Summary collapse
Instance Attribute Details
#bound ⇒ Object
Returns the value of attribute bound
9 10 11 |
# File 'lib/enola_rb/installer.rb', line 9 def bound @bound end |
#notes ⇒ Object
Returns the value of attribute notes
9 10 11 |
# File 'lib/enola_rb/installer.rb', line 9 def notes @notes end |
#unbound ⇒ Object
Returns the value of attribute unbound
9 10 11 |
# File 'lib/enola_rb/installer.rb', line 9 def unbound @unbound end |
#written ⇒ Object
Returns the value of attribute written
9 10 11 |
# File 'lib/enola_rb/installer.rb', line 9 def written @written end |
Instance Method Details
#lines ⇒ Object
10 11 12 13 14 15 |
# File 'lib/enola_rb/installer.rb', line 10 def lines out = written.map { |path| "wrote #{path}" } out << "bound #{bound.join(', ')}" unless bound.empty? out << "left commented, bind when the directories exist: #{unbound.join(', ')}" unless unbound.empty? out + notes end |