Class | Scruffy::Formatters::Custom |
In: |
lib/scruffy/formatters.rb
|
Parent: | Base |
Allows you to pass in a Proc for use as a formatter.
Use:
graph.value_formatter = Scruffy::Formatters::Custom.new { |value, idx, options| "Displays Returned Value" }
proc | [R] |