Class: TwitterBuilderHelper::ColumnDefinition

Inherits:
Object
  • Object
show all
Defined in:
app/helpers/twitter_builder_helper.rb

Direct Known Subclasses

ActionsColumnDefinition

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#alignObject

Returns the value of attribute align.



7
8
9
# File 'app/helpers/twitter_builder_helper.rb', line 7

def align
  @align
end

#col_classObject

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

#colsObject

Returns the value of attribute cols.



7
8
9
# File 'app/helpers/twitter_builder_helper.rb', line 7

def cols
  @cols
end

#titleObject

Returns the value of attribute title.



7
8
9
# File 'app/helpers/twitter_builder_helper.rb', line 7

def title
  @title
end

#value_extractorObject

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