Permalink
Browse files

[FIX] closes #4, thanks agrimm

  • Loading branch information...
1 parent 2b151e1 commit 7a35ab36f5843d38f027f772665213809381a4c4 @quackingduck quackingduck committed Oct 30, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/exemplor.rb
View
@@ -23,7 +23,7 @@ def [](disambiguate)
end
def name
- @name + (@disambiguate ? " #{@disambiguate}" : '')
+ @name + (defined?(@disambiguate) ? " #{@disambiguate}" : '')
end
def is(expectation)

0 comments on commit 7a35ab3

Please sign in to comment.