Sha256: 61062165621ec49c6f20daaf8455bfe61685a046aea13adea4d5d4de244653d3
Contents?: true
Size: 549 Bytes
Versions: 10
Compression:
Stored size: 549 Bytes
Contents
# stdlib require "erb" require "json" require "securerandom" # modules require "vega/method_helpers" require "vega/base_chart" require "vega/chart" require "vega/lite_chart" require "vega/spec" require "vega/version" # integrations require "vega/engine" if defined?(Rails) module Vega class << self # save chart method for now def start Chart.new end def lite LiteChart.new end def render(spec) Spec.new(spec).to_s end def display(spec) IRuby.display(Spec.new(spec)) end end end
Version data entries
10 entries across 10 versions & 1 rubygems