Class: Bhf::Data::Show
- Inherits:
-
Object
- Object
- Bhf::Data::Show
- 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_show_type ⇒ Object
readonly
Returns the value of attribute overwrite_show_type.
Instance Method Summary collapse
-
#initialize(field) ⇒ Show
constructor
A new instance of Show.
Constructor Details
#initialize(field) ⇒ Show
Returns a new instance of Show.
160 161 162 163 |
# File 'lib/bhf/data.rb', line 160 def initialize(field) @name = field.name @field = field end |
Instance Attribute Details
#field ⇒ Object (readonly)
Returns the value of attribute field.
158 159 160 |
# File 'lib/bhf/data.rb', line 158 def field @field end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
158 159 160 |
# File 'lib/bhf/data.rb', line 158 def name @name end |
#overwrite_show_type ⇒ Object (readonly)
Returns the value of attribute overwrite_show_type.
158 159 160 |
# File 'lib/bhf/data.rb', line 158 def overwrite_show_type @overwrite_show_type end |