lib/tty/table/renderer/unicode.rb in tty-0.0.11 vs lib/tty/table/renderer/unicode.rb in tty-0.1.0
- old
+ new
@@ -1,15 +1,21 @@
-# -*- encoding: utf-8 -*-
+# encoding: utf-8
module TTY
class Table
class Renderer
+ # Unicode representation of table renderer
+ #
+ # @api private
class Unicode < Basic
-
- def initialize(table, options={})
- super(table, options.merge(:border_class => TTY::Table::Border::Unicode))
+ # Create Unicode renderer
+ #
+ # @param [Table] table
+ #
+ # @api private
+ def initialize(table, options = {})
+ super(table, options.merge(border_class: TTY::Table::Border::Unicode))
end
-
end # Unicode
end # Renderer
end # Table
end # TTY