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.
136 137 138 139 |
# File 'lib/bhf/data.rb', line 136 def initialize(field) @name = field.name @field = field end |
Instance Attribute Details
#field ⇒ Object (readonly)
Returns the value of attribute field.
134 135 136 |
# File 'lib/bhf/data.rb', line 134 def field @field end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
134 135 136 |
# File 'lib/bhf/data.rb', line 134 def name @name end |
#overwrite_display_type ⇒ Object (readonly)
Returns the value of attribute overwrite_display_type.
134 135 136 |
# File 'lib/bhf/data.rb', line 134 def overwrite_display_type @overwrite_display_type end |