Class: Coalla::TableFormatter::SelfFormatter
- Inherits:
-
Object
- Object
- Coalla::TableFormatter::SelfFormatter
- Defined in:
- lib/coalla/builders/table_formatter.rb
Instance Method Summary collapse
Instance Method Details
#format_value(item, format) ⇒ Object
45 46 47 48 |
# File 'lib/coalla/builders/table_formatter.rb', line 45 def format_value(item, format) raise 'Format should be lambda' unless format.is_a?(Proc) format.call(item) end |