Class: TwitterBuilderHelper::ColumnDefinition
- Inherits:
-
Object
- Object
- TwitterBuilderHelper::ColumnDefinition
- Defined in:
- app/helpers/twitter_builder_helper.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.
-
#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.
7 8 9 |
# File 'app/helpers/twitter_builder_helper.rb', line 7 def align @align end |
#col_class ⇒ Object
Returns the value of attribute col_class.
7 8 9 |
# File 'app/helpers/twitter_builder_helper.rb', line 7 def col_class @col_class end |
#cols ⇒ Object
Returns the value of attribute cols.
7 8 9 |
# File 'app/helpers/twitter_builder_helper.rb', line 7 def cols @cols end |
#title ⇒ Object
Returns the value of attribute title.
7 8 9 |
# File 'app/helpers/twitter_builder_helper.rb', line 7 def title @title end |
#value_extractor ⇒ Object
Returns the value of attribute value_extractor.
7 8 9 |
# File 'app/helpers/twitter_builder_helper.rb', line 7 def value_extractor @value_extractor end |
Instance Method Details
#value(item, context = self) ⇒ Object
9 10 11 |
# File 'app/helpers/twitter_builder_helper.rb', line 9 def value(item, context = self) self.value_extractor.call(item) end |