Module: D3Charts::ViewHelpers
- Defined in:
- lib/d3_charts/view_helpers.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#area_chart(chart_data, options = {}) ⇒ Object
———————————————————————.
-
#pie_chart(chart_data, options = {}) ⇒ Object
———————————————————————.
Class Method Details
.included(klass) ⇒ Object
8 9 10 11 12 |
# File 'lib/d3_charts/view_helpers.rb', line 8 def self.included klass klass.class_eval do include ActionView::Context end end |