Sha256: 7edcdf83de63a05b5619056f525370cbd8b40938e05cebdf98a5ced99f55a6e9

Contents?: true

Size: 194 Bytes

Versions: 15

Compression:

Stored size: 194 Bytes

Contents

class Highcharts
  class Colors < Base

    attr_reader :colors

    def initialize(options)
      @colors = Array.wrap(options)
    end

    def to_json
      colors.to_json
    end

  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
highcharts-js-rails-1.0.0 lib/highcharts/colors.rb
highcharts-js-rails-0.2.1 lib/highcharts/color.rb
highcharts-js-rails-0.2.0 lib/highcharts/color.rb
highcharts-js-rails-0.1.11 lib/highcharts/color.rb
highcharts-js-rails-0.1.10 lib/highcharts/color.rb
highcharts-js-rails-0.1.9 lib/highcharts/color.rb
highcharts-js-rails-0.1.8 lib/highcharts/color.rb
highcharts-js-rails-0.1.7 lib/highcharts/color.rb
highcharts-js-rails-0.1.6 lib/highcharts/color.rb
highcharts-js-rails-0.1.5 lib/highcharts/color.rb
highcharts-js-rails-0.1.4 lib/highcharts/color.rb
highcharts-js-rails-0.1.3 lib/highcharts/color.rb
highcharts-js-rails-0.1.2 lib/highcharts/color.rb
highcharts-js-rails-0.1.1 lib/highcharts/color.rb
highcharts-js-rails-0.1.0 lib/highcharts/color.rb