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.
161 162 163 164 |
# File 'lib/bhf/data.rb', line 161 def initialize(field) @name = field.name @field = field end |
Instance Attribute Details
#field ⇒ Object (readonly)
Returns the value of attribute field.
159 160 161 |
# File 'lib/bhf/data.rb', line 159 def field @field end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
159 160 161 |
# File 'lib/bhf/data.rb', line 159 def name @name end |
#overwrite_show_type ⇒ Object (readonly)
Returns the value of attribute overwrite_show_type.
159 160 161 |
# File 'lib/bhf/data.rb', line 159 def overwrite_show_type @overwrite_show_type end |