Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix a couple of typos

  • Loading branch information...
commit 733ca4fc8fa51f5e884e47b193e17eeb126aa5e6 1 parent b0f80a8
@ferrous26 authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/rubygems-compile/analyzer.rb
View
6 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
Please sign in to comment.
Something went wrong with that request. Please try again.