class Helium::Console::Table
Attributes
after_key[R]
format_keys[R]
runner[R]
Public Class Methods
new(runner: '|', after_key: ' ', format_keys: true)
click to toggle source
# File lib/helium/console/table.rb, line 6 def initialize(runner: '|', after_key: ' ', format_keys: true) @runner = runner @after_key = after_key @format_keys = format_keys end
Public Instance Methods
row(key, value, **options)
click to toggle source
# File lib/helium/console/table.rb, line 14 def row(key, value, **options) rows << [key, value, options] end
rows()
click to toggle source
# File lib/helium/console/table.rb, line 18 def rows @rows ||= [] end