Module: Plasticine::Helpers

Defined in:
lib/plasticine/helpers.rb

Defined Under Namespace

Classes: PlasticineTagHelper

Instance Method Summary collapse

Instance Method Details

#column_visual(id, options = {}) ⇒ Object



6
7
8
# File 'lib/plasticine/helpers.rb', line 6

def column_visual(id, options={})
  PlasticineTagHelper.new(self, id, options[:from], options[:to], options[:step]).column(options)
end

#d3_include_tagObject



2
3
4
# File 'lib/plasticine/helpers.rb', line 2

def d3_include_tag
  javascript_include_tag("d3")
end

#line_visual(id, options = {}) ⇒ Object



10
11
12
# File 'lib/plasticine/helpers.rb', line 10

def line_visual(id, options={})
  PlasticineTagHelper.new(self, id, options[:from], options[:to], options[:step]).line(options)
end