Permalink
Browse files

Fix a couple of typos

  • Loading branch information...
1 parent b0f80a8 commit 733ca4fc8fa51f5e884e47b193e17eeb126aa5e6 @ferrous26 committed Feb 12, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/rubygems-compile/analyzer.rb
@@ -15,10 +15,10 @@ class Gem::Analyzer < Ripper::SexpBuilder
# Check the given string of code for potential issues when compiled.
# Returns the analyzer instance afterwards.
- def check code
+ def self.check code
@parser ||= Gem::Analyzer.new(code)
- parser.parse
- parser
+ @parser.parse
+ @parser
end
def parse

0 comments on commit 733ca4f

Please sign in to comment.