From a43f0fc584c51e1282da22aaeb92aae88eb16975 Mon Sep 17 00:00:00 2001 From: Mike West Date: Wed, 20 Oct 2010 14:27:03 +0200 Subject: [PATCH] Typo: Closes issue #11 Thanks to Paul Chavard ( http://github.com/tchak ) for the report and fix. --- lib/rocco.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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