Method: TTY::Table::BorderOptions.from
- Defined in:
- lib/tty/table/border_options.rb
.from(options) ⇒ Object
Create options instance from hash
14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/tty/table/border_options.rb', line 14 def self.from() return new if .nil? opts = case when self.class .to_hash else end new(**opts) end |