Class: Preek::CompactOutput
- Defined in:
- lib/preek/output.rb
Instance Method Summary collapse
Methods inherited from Output
Instance Method Details
#print_line ⇒ Object
32 33 34 |
# File 'lib/preek/output.rb', line 32 def print_line say "\n-\n\n" end |
#status(title, text, color = nil) ⇒ Object
26 27 28 29 30 |
# File 'lib/preek/output.rb', line 26 def status(title, text, color = nil) title = title.to_s + ": " if title.is_a?(Symbol) say title, color, false say text end |