Class: Smithy::Format::Doku

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

Instance Method Summary collapse

Instance Method Details

#afterObject



114
115
# File 'lib/smithy/format.rb', line 114

def after
end

#beforeObject



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