Sha256: 20ec655c430be121c46089b86ee8d36c9ebc074cb508bd41159f46207c8895ba
Contents?: true
Size: 638 Bytes
Versions: 1
Compression:
Stored size: 638 Bytes
Contents
require 'rails' module ActiveCharts class Engine < ::Rails::Engine initializer 'active_charts.initialize' do ActiveSupport.on_load(:action_view) do include ActiveCharts::Helpers::BarChartHelper include ActiveCharts::Helpers::ScatterPlotHelper include ActiveCharts::Helpers::LineChartHelper end end config.eager_load_namespaces << ActiveCharts end extend ActiveSupport::Autoload eager_autoload do autoload :Helpers autoload :Chart autoload :RectangularChart autoload :XYChart autoload :BarChart autoload :ScatterPlot autoload :LineChart end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_charts-1.0.1 | lib/active_charts.rb |