Permalink
Browse files

Initial implementation of Class (the Reia metaclass)

  • Loading branch information...
1 parent f07614d commit 63f1328da78ed5689a506037eabb643aadfa9d70 Tony Arcieri committed Dec 18, 2010
Showing with 10 additions and 0 deletions.
  1. +10 −0 src/builtins/class.re
View
@@ -0,0 +1,10 @@
+# The Reia metaclass
+class Class
+ def name; "Class"; end
+
+ # String representation of this class
+ def to_s; name(); end
+
+ # Methods of this class
+ def methods; []; end
+end

0 comments on commit 63f1328

Please sign in to comment.