Skip to content

Commit

Permalink
Fixed: Typo in draw_fn_name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaromír Červenka committed Oct 28, 2012
1 parent a61d825 commit 271a98e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/google_visualr/base_chart.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def chart_name
end

def draw_fn_name element_id
"draw_#{element_id.sub('-', '_')}_Chart"
"draw_#{element_id.gsub('-', '_')}_Chart"
end

def options
Expand Down

0 comments on commit 271a98e

Please sign in to comment.