Class: Bhf::Data::Column
- Inherits:
-
Object
- Object
- Bhf::Data::Column
- Defined in:
- lib/bhf/data.rb
Instance Attribute Summary collapse
-
#field ⇒ Object
readonly
Returns the value of attribute field.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#overwrite_display_type ⇒ Object
readonly
Returns the value of attribute overwrite_display_type.
Instance Method Summary collapse
-
#initialize(field) ⇒ Column
constructor
A new instance of Column.
Constructor Details
#initialize(field) ⇒ Column
Returns a new instance of Column.
150 151 152 153 |
# File 'lib/bhf/data.rb', line 150 def initialize(field) @name = field.name @field = field end |
Instance Attribute Details
#field ⇒ Object (readonly)
Returns the value of attribute field.
148 149 150 |
# File 'lib/bhf/data.rb', line 148 def field @field end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
148 149 150 |
# File 'lib/bhf/data.rb', line 148 def name @name end |
#overwrite_display_type ⇒ Object (readonly)
Returns the value of attribute overwrite_display_type.
148 149 150 |
# File 'lib/bhf/data.rb', line 148 def overwrite_display_type @overwrite_display_type end |