Top Level Namespace
Defined Under Namespace
Modules: TablePrint
Instance Method Summary collapse
Instance Method Details
#tp(data = Class, *options) ⇒ Object
74 75 76 77 78 |
# File 'lib/table_print.rb', line 74 def tp(data=Class, *) printer = TablePrint::Printer.new(data, ) TablePrint::Config.io.puts printer.table_print unless data.is_a? Class TablePrint::Returnable.new(printer.) # we have to return *something*, might as well be execution time. end |