Sha256: 05e631165e57c61cc8fdf1271f1efa4ccac46a44abb75664116813834f0f0a60

Contents?: true

Size: 963 Bytes

Versions: 6

Compression:

Stored size: 963 Bytes

Contents

require 'collection_of'
require "amcharts/version"
require_relative '../app/helpers/amcharts/amcharts_helper'

module AmCharts
  autoload :Axis,         'amcharts/axis'
  autoload :Chart,        'amcharts/chart'
  autoload :ChartBuilder, 'amcharts/chart_builder'
  autoload :Cursor,       'amcharts/cursor'
  autoload :Graph,        'amcharts/graph'
  autoload :Legend,       'amcharts/legend'
  autoload :Listener,     'amcharts/listener'
  autoload :ScrollBar,    'amcharts/scroll_bar'
  autoload :Settings,     'amcharts/settings'
  autoload :UsesSettings, 'amcharts/uses_settings'

  ActiveSupport::Inflector.inflections do |inflect|
    inflect.acronym "AmCharts"
  end

  Engine = Class.new(::Rails::Engine) do
    # Load the Amcharts helper when loading ActionView
    initializer 'amcharts.action_controller' do |app|
      ActiveSupport.on_load :action_controller do
        helper AmCharts::AmChartsHelper
      end
    end
  end if defined?(Rails)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
amcharts.rb-3.2.0.2 lib/amcharts.rb
amcharts.rb-3.2.0.1 lib/amcharts.rb
amcharts.rb-3.2.0.0 lib/amcharts.rb
amcharts.rb-3.1.1.3 lib/amcharts.rb
amcharts.rb-3.1.1.1 lib/amcharts.rb
amcharts.rb-3.1.1.0 lib/amcharts.rb