Class: Spina::Parts::Base

Inherits:
Object
  • Object
show all
Includes:
AttrJson::Model
Defined in:
app/models/spina/parts/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#hintObject

Returns the value of attribute hint.



10
11
12
# File 'app/models/spina/parts/base.rb', line 10

def hint
  @hint
end

#item_nameObject

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

#titleObject

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

#contentObject



16
17
# File 'app/models/spina/parts/base.rb', line 16

def content
end

#labelObject



12
13
14
# File 'app/models/spina/parts/base.rb', line 12

def label
  content&.to_s
end