Sha256: c0a25c4a72e08f34d7dd65fd3eb4d68bd95d47413df14c7d47a938abc232e415

Contents?: true

Size: 563 Bytes

Versions: 10

Compression:

Stored size: 563 Bytes

Contents

# stdlib
require "erb"
require "json"

# modules
require_relative "chartkick/core_ext"
require_relative "chartkick/helper"
require_relative "chartkick/utils"
require_relative "chartkick/version"

# integrations
require_relative "chartkick/engine" if defined?(Rails)
require_relative "chartkick/sinatra" if defined?(Sinatra)

if defined?(ActiveSupport.on_load)
  ActiveSupport.on_load(:action_view) do
    include Chartkick::Helper
  end
end

module Chartkick
  class << self
    attr_accessor :content_for
    attr_accessor :options
  end
  self.options = {}
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
chartkick-5.1.2 lib/chartkick.rb
chartkick-5.1.1 lib/chartkick.rb
chartkick-5.1.0 lib/chartkick.rb
chartkick-5.0.6 lib/chartkick.rb
chartkick-5.0.5 lib/chartkick.rb
chartkick-5.0.4 lib/chartkick.rb
chartkick-5.0.3 lib/chartkick.rb
chartkick-5.0.2 lib/chartkick.rb
chartkick-5.0.1 lib/chartkick.rb
chartkick-5.0.0 lib/chartkick.rb