Class: Quacky::PieChartBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/quacky/pie_chart_builder.rb

Instance Method Summary collapse

Instance Method Details

#drawObject

return a content tag that can be selected by the client-side, and drawn on



6
7
8
# File 'lib/quacky/pie_chart_builder.rb', line 6

def draw
  "<div class='pie-chart'>".html_safe
end