Method: TTY::Table::Options#convert_key

Defined in:
lib/tty/table/options.rb

#convert_key(key) ⇒ Object

[View source]

22
23
24
# File 'lib/tty/table/options.rb', line 22

def convert_key(key)
  key.is_a?(Symbol) ? key.to_s : key
end