module WiseGopher::Row::ClassMethods

Row class methods

Attributes

columns[R]
ignored_columns[R]

Public Instance Methods

column(name, type, **kwargs) click to toggle source
# File lib/wise_gopher/row.rb, line 20
def column(name, type, **kwargs)
  column = WiseGopher::Column.new(name, type, **kwargs)

  column.define_getter(self)

  columns[column.name] = column
end
ignore(column_name) click to toggle source
# File lib/wise_gopher/row.rb, line 28
def ignore(column_name)
  @ignored_columns << column_name.to_s.freeze
end