Permalink
Browse files

Added first stab at NilClass#==

  • Loading branch information...
vidarh committed Sep 11, 2014
1 parent 2f8ecb7 commit e31a44e8774e04a830ca8bf9a66dcc7e363ac1f2
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/core/nil.rb
View
@@ -5,6 +5,10 @@ def __true?
%s(sexp 0)
end
def == other
return !other.nil?
end
def nil?
true
end

0 comments on commit e31a44e

Please sign in to comment.