Module: Charting::Transforms
- Defined in:
- lib/ar_to_chart/charting/transforms.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/ar_to_chart/charting/transforms.rb', line 5 def self.included(base) base.class_eval do extend ClassMethods include InstanceMethods const_set(:DEFAULT_PIVOT_COLUMNS, { :attribute => :attribute, :value => :value }) end end |