Skip to content

Commit

Permalink
Don't pollute Object with cvar
Browse files Browse the repository at this point in the history
  • Loading branch information
rf- committed Sep 6, 2012
1 parent f0a16e2 commit 91e825c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_completion.rb
Expand Up @@ -53,7 +53,7 @@ def self.name; :symboly_name; end
end

it 'should complete instance variables' do
object = Object.new
object = Class.new.new

# set variables in appropriate scope
object.instance_variable_set(:'@name', 'Pry')
Expand Down

0 comments on commit 91e825c

Please sign in to comment.