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



11
12
13
# File 'lib/exwiw/table_column.rb', line 11

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

Instance Method Details

#to_hashObject



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

def to_hash
  super.compact # drop unusing option
end