Sha256: c7b8b8305d25112fa4a1f519fd4a1d958a5a3259d80e48ff8827325a7f9dba56
Contents?: true
Size: 350 Bytes
Versions: 8
Compression:
Stored size: 350 Bytes
Contents
module TableHelp module Formatter module_function def format_attribute_name(name, collection_or_resource) return if name.blank? TableHelp.config.formatter[:attribute_name].call(name, collection_or_resource) end def format_value(name, value) TableHelp.config.formatter[:value].call(name, value) end end end
Version data entries
8 entries across 8 versions & 1 rubygems