lib/tty/table/renderer/unicode.rb in tty-0.0.9 vs lib/tty/table/renderer/unicode.rb in tty-0.0.10

- old
+ new

@@ -1,13 +1,13 @@ # -*- encoding: utf-8 -*- module TTY class Table - module Renderer + class Renderer class Unicode < Basic - def render(table) - super table, TTY::Table::Border::Unicode + def initialize(table, options={}) + super(table, options.merge(:border_class => TTY::Table::Border::Unicode)) end end # Unicode end # Renderer end # Table