Class: Smithy::Format::Doku
- Inherits:
-
Object
- Object
- Smithy::Format::Doku
- Defined in:
- lib/smithy/format.rb
Instance Method Summary collapse
Instance Method Details
#after ⇒ Object
114 115 |
# File 'lib/smithy/format.rb', line 114 def after end |
#before ⇒ Object
106 107 108 |
# File 'lib/smithy/format.rb', line 106 def before puts "^ Build ^ Last Modified ^ Username ^ Name ^" end |
#format(software, root) ⇒ Object
109 110 111 112 113 |
# File 'lib/smithy/format.rb', line 109 def format(software, root) software.each do |s| puts "| " + Smithy::Format.software_row(s).join(' | ') + " |" end end |