Permalink
Browse files

Add TrueClass#to_s

  • Loading branch information...
vidarh committed Sep 10, 2014
1 parent 8fe7103 commit 79d39f4158b92334f549e15a4b931c41ae09dfc7
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/core/true.rb
View
@@ -5,6 +5,10 @@ def ! x # FIXME: Why is it called with an argument?
false
end
def to_s
"true"
end
def == other
if other
true

0 comments on commit 79d39f4

Please sign in to comment.