Class: Spina::Parts::Base
- Inherits:
-
Object
- Object
- Spina::Parts::Base
- Includes:
- AttrJson::Model
- Defined in:
- app/models/spina/parts/base.rb
Direct Known Subclasses
Attachment, Image, ImageCollection, Line, MultiLine, Option, PageLink, Repeater, RepeaterContent, ResourceLink, Text
Instance Attribute Summary collapse
-
#hint ⇒ Object
Returns the value of attribute hint.
-
#item_name ⇒ Object
Returns the value of attribute item_name.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
Instance Attribute Details
#hint ⇒ Object
Returns the value of attribute hint.
10 11 12 |
# File 'app/models/spina/parts/base.rb', line 10 def hint @hint end |
#item_name ⇒ Object
Returns the value of attribute item_name.
10 11 12 |
# File 'app/models/spina/parts/base.rb', line 10 def item_name @item_name end |
#title ⇒ Object
Returns the value of attribute title.
10 11 12 |
# File 'app/models/spina/parts/base.rb', line 10 def title @title end |
Instance Method Details
#content ⇒ Object
16 17 |
# File 'app/models/spina/parts/base.rb', line 16 def content end |
#label ⇒ Object
12 13 14 |
# File 'app/models/spina/parts/base.rb', line 12 def label content&.to_s end |