Class: Munola::Installer::Report
- Inherits:
-
Struct
- Object
- Struct
- Munola::Installer::Report
- Defined in:
- lib/munola/installer.rb
Instance Attribute Summary collapse
-
#bound ⇒ Object
Returns the value of attribute bound.
-
#commented ⇒ Object
Returns the value of attribute commented.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#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/munola/installer.rb', line 9 def bound @bound end |
#commented ⇒ Object
Returns the value of attribute commented
9 10 11 |
# File 'lib/munola/installer.rb', line 9 def commented @commented end |
#notes ⇒ Object
Returns the value of attribute notes
9 10 11 |
# File 'lib/munola/installer.rb', line 9 def notes @notes end |
#written ⇒ Object
Returns the value of attribute written
9 10 11 |
# File 'lib/munola/installer.rb', line 9 def written @written end |
Instance Method Details
#lines ⇒ Object
10 11 12 13 14 15 |
# File 'lib/munola/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: #{commented.join(', ')}" unless commented.empty? out + notes end |