Module: Grapher::ApplicationHelper

Defined in:
app/helpers/grapher/application_helper.rb

Instance Method Summary collapse

Instance Method Details

#graph(time_units, options = {}, &block) ⇒ Object



92
93
94
# File 'app/helpers/grapher/application_helper.rb', line 92

def graph(time_units, options={}, &block)
  return Grapher::Graph.new(time_units, options, block).html
end