Class: RubyCms::ContentBlocksGrouping::Row
- Inherits:
-
Struct
- Object
- Struct
- RubyCms::ContentBlocksGrouping::Row
- Defined in:
- lib/ruby_cms/content_blocks_grouping.rb
Instance Attribute Summary collapse
-
#content_block ⇒ Object
Returns the value of attribute content_block.
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#id ⇒ Object
Returns the value of attribute id.
-
#key ⇒ Object
Returns the value of attribute key.
-
#locale ⇒ Object
Returns the value of attribute locale.
-
#published ⇒ Object
Returns the value of attribute published.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#model_name ⇒ Object
rubocop:disable Rails/Delegate.
- #published? ⇒ Boolean
Instance Attribute Details
#content_block ⇒ Object
Returns the value of attribute content_block
5 6 7 |
# File 'lib/ruby_cms/content_blocks_grouping.rb', line 5 def content_block @content_block end |
#content_type ⇒ Object
Returns the value of attribute content_type
5 6 7 |
# File 'lib/ruby_cms/content_blocks_grouping.rb', line 5 def content_type @content_type end |
#id ⇒ Object
Returns the value of attribute id
5 6 7 |
# File 'lib/ruby_cms/content_blocks_grouping.rb', line 5 def id @id end |
#key ⇒ Object
Returns the value of attribute key
5 6 7 |
# File 'lib/ruby_cms/content_blocks_grouping.rb', line 5 def key @key end |
#locale ⇒ Object
Returns the value of attribute locale
5 6 7 |
# File 'lib/ruby_cms/content_blocks_grouping.rb', line 5 def locale @locale end |
#published ⇒ Object
Returns the value of attribute published
5 6 7 |
# File 'lib/ruby_cms/content_blocks_grouping.rb', line 5 def published @published end |
#title ⇒ Object
Returns the value of attribute title
5 6 7 |
# File 'lib/ruby_cms/content_blocks_grouping.rb', line 5 def title @title end |
Instance Method Details
#model_name ⇒ Object
rubocop:disable Rails/Delegate
10 11 12 |
# File 'lib/ruby_cms/content_blocks_grouping.rb', line 10 def model_name # rubocop:disable Rails/Delegate ::ContentBlock.model_name end |
#published? ⇒ Boolean
6 7 8 |
# File 'lib/ruby_cms/content_blocks_grouping.rb', line 6 def published? published end |