Skip to content

Commit

Permalink
Fix a warning when evaluating a instance variable usage in a Module.
Browse files Browse the repository at this point in the history
git-svn-id: http://rubygems.rubyforge.org/svn/trunk@1842 3d4018f9-ac1a-0410-99e9-8a154d859a19
  • Loading branch information
luislavena committed Jul 11, 2008
1 parent eb8ef70 commit e3502a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -2,6 +2,7 @@
2008-07-11 Luis Lavena <luislavena@gmail.com>

* setup.rb: Properly build --destdir folder structure using Pathname.
* test/mockgemui.rb: Fix warnings about instance variables in a module.

2008-07-02 Phil Hagelberg <technomancy@gmail.com>

Expand Down
2 changes: 1 addition & 1 deletion test/mockgemui.rb
Expand Up @@ -17,7 +17,7 @@ module TTY
attr_accessor :tty

def tty?()
@tty = true if @tty.nil?
@tty = true unless defined?(@tty)
@tty
end

Expand Down

0 comments on commit e3502a7

Please sign in to comment.