Class: Bhf::Data::Column

Inherits:
Object
  • Object
show all
Defined in:
lib/bhf/data.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(field) ⇒ Column

Returns a new instance of Column.



119
120
121
122
# File 'lib/bhf/data.rb', line 119

def initialize(field)
  @name = field.name
  @field = field
end

Instance Attribute Details

#fieldObject (readonly)

Returns the value of attribute field.



117
118
119
# File 'lib/bhf/data.rb', line 117

def field
  @field
end

#nameObject (readonly)

Returns the value of attribute name.



117
118
119
# File 'lib/bhf/data.rb', line 117

def name
  @name
end