testing to_s on Code

This commit is contained in:
Torsten Ruger
2016-12-28 13:59:02 +02:00
parent a8f3d5a634
commit 266764be06
3 changed files with 5 additions and 2 deletions

View File

@ -21,7 +21,7 @@ module Typed
end
class FalseExpression < Expression
def to_s
false
"false"
end
end
class NilExpression < Expression