Sha256: 37609567906a9add78cea0b3772729cb52d74fc8a48f688a5335726ba72dac05
Contents?: true
Size: 464 Bytes
Versions: 32
Compression:
Stored size: 464 Bytes
Contents
module Effective module EffectiveDatatable module Charts def charts_data HashWithIndifferentAccess.new().tap do |retval| (charts || {}).each do |name, chart| retval[name] = { name: chart[:name], type: chart[:type], options: chart[:options], data: (instance_exec(&chart[:block]) if chart[:block]) } end end end end end end
Version data entries
32 entries across 32 versions & 1 rubygems