Class: Coalla::ColumnDefinition
- Inherits:
-
Object
- Object
- Coalla::ColumnDefinition
- Defined in:
- lib/coalla/builders/column_definition.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#align ⇒ Object
Returns the value of attribute align.
-
#col_class ⇒ Object
Returns the value of attribute col_class.
-
#cols ⇒ Object
Returns the value of attribute cols.
-
#edit ⇒ Object
Returns the value of attribute edit.
-
#sort ⇒ Object
Returns the value of attribute sort.
-
#title ⇒ Object
Returns the value of attribute title.
-
#value_extractor ⇒ Object
Returns the value of attribute value_extractor.
Instance Method Summary collapse
Instance Attribute Details
#align ⇒ Object
Returns the value of attribute align.
3 4 5 |
# File 'lib/coalla/builders/column_definition.rb', line 3 def align @align end |
#col_class ⇒ Object
Returns the value of attribute col_class.
3 4 5 |
# File 'lib/coalla/builders/column_definition.rb', line 3 def col_class @col_class end |
#cols ⇒ Object
Returns the value of attribute cols.
3 4 5 |
# File 'lib/coalla/builders/column_definition.rb', line 3 def cols @cols end |
#edit ⇒ Object
Returns the value of attribute edit.
3 4 5 |
# File 'lib/coalla/builders/column_definition.rb', line 3 def edit @edit end |
#sort ⇒ Object
Returns the value of attribute sort.
3 4 5 |
# File 'lib/coalla/builders/column_definition.rb', line 3 def sort @sort end |
#title ⇒ Object
Returns the value of attribute title.
3 4 5 |
# File 'lib/coalla/builders/column_definition.rb', line 3 def title @title end |
#value_extractor ⇒ Object
Returns the value of attribute value_extractor.
3 4 5 |
# File 'lib/coalla/builders/column_definition.rb', line 3 def value_extractor @value_extractor end |
Instance Method Details
#value(item, context = self) ⇒ Object
5 6 7 |
# File 'lib/coalla/builders/column_definition.rb', line 5 def value(item, context = self) self.value_extractor.call(item) end |