Class: PandaCms::Admin::TagColumn
- Defined in:
- app/components/panda_cms/admin/table_component.rb
Instance Attribute Summary collapse
-
#cell ⇒ Object
readonly
Returns the value of attribute cell.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
Instance Method Summary collapse
-
#initialize(label, &block) ⇒ TagColumn
constructor
A new instance of TagColumn.
Constructor Details
#initialize(label, &block) ⇒ TagColumn
Returns a new instance of TagColumn.
38 39 40 41 |
# File 'app/components/panda_cms/admin/table_component.rb', line 38 def initialize(label, &block) @label = label @cell = PandaCms::Admin::TagComponent.new(status: block) end |
Instance Attribute Details
#cell ⇒ Object (readonly)
Returns the value of attribute cell.
36 37 38 |
# File 'app/components/panda_cms/admin/table_component.rb', line 36 def cell @cell end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
36 37 38 |
# File 'app/components/panda_cms/admin/table_component.rb', line 36 def label @label end |