Sha256: 1bbbe9b59617cffcb384055b058e58f4d4777c741e615d07bb0161ef933819b9
Contents?: true
Size: 290 Bytes
Versions: 1
Compression:
Stored size: 290 Bytes
Contents
ReportsKit.configure do |config| config.custom_methods = { format_percentage: -> (value) { "#{value.round(0)}%" }, add_label_suffix: -> (data) { data[:entities].each do |entity| entity.label = "#{entity.label} Foo" if entity.label end data } } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reports_kit-0.2.0 | spec/support/config.rb |