Module: Shoot::UI
- Included in:
- CLI
- Defined in:
- lib/shoot/ui.rb
Constant Summary collapse
- TABLE_HEADER =
['ID', 'OS #', 'Browser #', 'Device', 'Emulator']
Instance Method Summary collapse
Instance Method Details
#table(browsers) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/shoot/ui.rb', line 5 def table(browsers) table = browsers.map do |browser| to_row(browser) end.unshift(TABLE_HEADER) print_table table, truncate: true end |