Module: Bj::Table::InstanceMethods

Defined in:
lib/bj/table.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) to_hash



69
70
71
72
73
# File 'lib/bj/table.rb', line 69

def to_hash
  oh = OrderedHash.new
  self.class.content_column_names.each{|c| oh[c] = self[c]}
  oh
end