Class: View::Table::Cell
- Inherits:
-
Struct
- Object
- Struct
- View::Table::Cell
- Defined in:
- lib/view/formatters/table.rb
Instance Attribute Summary (collapse)
-
- (Object) column
Returns the value of attribute column.
-
- (Object) row
Returns the value of attribute row.
Instance Method Summary (collapse)
-
- (Object) value
Returns the formatted value for the cell.
Instance Attribute Details
- (Object) column
Returns the value of attribute column
155 156 157 |
# File 'lib/view/formatters/table.rb', line 155 def column @column end |
- (Object) row
Returns the value of attribute row
155 156 157 |
# File 'lib/view/formatters/table.rb', line 155 def row @row end |
Instance Method Details
- (Object) value
Returns the formatted value for the cell
162 163 164 |
# File 'lib/view/formatters/table.rb', line 162 def value View.format(value_or_resource, , template, &block) end |