Skip to content

Commit

Permalink
Declare ivar in #initialize
Browse files Browse the repository at this point in the history
This commit removes below interpreter warning.

* warning: instance variable @{ivar} not initialized
  • Loading branch information
kachick committed Apr 5, 2013
1 parent b2f9644 commit d91e741
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/appraisal/gemfile.rb
Expand Up @@ -9,6 +9,7 @@ class Gemfile
def initialize
@sources = []
@dependencies = []
@gemspec = nil
end

def load(path)
Expand Down

0 comments on commit d91e741

Please sign in to comment.