Class: Exwiw::TableColumn

Inherits:
Object
  • Object
show all
Includes:
Serdes
Defined in:
lib/exwiw/table_column.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_symbol_keys(hash) ⇒ Object



16
17
18
# File 'lib/exwiw/table_column.rb', line 16

def self.from_symbol_keys(hash)
  from(hash.transform_keys(&:to_s))
end

Instance Method Details

#to_hashObject



20
21
22
# File 'lib/exwiw/table_column.rb', line 20

def to_hash
  super.compact # drop unusing option
end