class Emmental::Row
Attributes
headers[RW]
Public Class Methods
new(hash, headers)
click to toggle source
# File lib/emmental/row.rb, line 5 def initialize(hash, headers) @hash = hash @headers = headers hash.each_key do |header| @headers.add_header(header) end end
Public Instance Methods
to_h()
click to toggle source
# File lib/emmental/row.rb, line 14 def to_h @hash end