class ChartJS::Options
Public Class Methods
new()
click to toggle source
# File lib/chart_js/chart/bar_chart/opts.rb, line 7 def initialize @container = Hash.new end
Public Instance Methods
build(&block)
click to toggle source
# File lib/chart_js/chart/bar_chart/opts.rb, line 11 def build(&block) instance_eval(&block) @container end