class Bitmapped::Commands::PrintFancyTableCommand
Public Instance Methods
command_id()
click to toggle source
# File lib/bitmapped/commands/print_fancy_table_command.rb, line 9 def command_id "T" end
process_command(bitmap, input)
click to toggle source
# File lib/bitmapped/commands/print_fancy_table_command.rb, line 13 def process_command(bitmap, input) Validators::ValidateBitmapInitialised.parse_and_validate(bitmap) bitmap.table ||= Terminal::Table.new bitmap.table.rows = bitmap.pixels puts bitmap.table bitmap.table end