Permalink
Browse files

add NilClass#to_hash

  • Loading branch information...
1 parent 77f4125 commit 78deac4b103f0f903fa448f7cfb606259558f71c @bakkdoor committed Aug 21, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 lib/nil_class.fy
View
8 lib/nil_class.fy
@@ -79,6 +79,14 @@ class NilClass {
[]
}
+ def to_hash {
+ """
+ @return An empty @Hash@.
+ """
+
+ <[]>
+ }
+
def not {
"""
@return @true.

0 comments on commit 78deac4

Please sign in to comment.