Method: Convoy::Formatter::StreamOutputFormatter#grid
- Defined in:
- lib/convoy/formatter/stream_output_formatter.rb
#grid(options = {}, &block) ⇒ Object
48 49 50 51 52 53 54 |
# File 'lib/convoy/formatter/stream_output_formatter.rb', line 48 def grid( = {}, &block) if block_given? [:width] ||= max_output_width grid = StringGrid.new(, &block) puts grid.to_s end end |