diff --git a/lib/rocco.rb b/lib/rocco.rb index ec62b39..467f9ef 100644 --- a/lib/rocco.rb +++ b/lib/rocco.rb @@ -216,7 +216,7 @@ class Rocco def highlight_webservice(code) Net::HTTP.post_form( URI.parse('http://pygments.appspot.com/'), - {'lang' => @options['language'], 'code' => code} + {'lang' => @options[:language], 'code' => code} ).body end end