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.
149 150 151 152 |
# File 'lib/bhf/data.rb', line 149 def initialize(field) @name = field.name @field = field end |
Instance Attribute Details
#field ⇒ Object (readonly)
Returns the value of attribute field.
147 148 149 |
# File 'lib/bhf/data.rb', line 147 def field @field end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
147 148 149 |
# File 'lib/bhf/data.rb', line 147 def name @name end |
#overwrite_display_type ⇒ Object (readonly)
Returns the value of attribute overwrite_display_type.
147 148 149 |
# File 'lib/bhf/data.rb', line 147 def overwrite_display_type @overwrite_display_type end |