Permalink
Browse files

Implement Class#new

  • Loading branch information...
1 parent 63f1328 commit 9e7b74b0444b97de337f7f05b7acd325b3fe58c0 Tony Arcieri committed Dec 18, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/builtins/class.re
View
@@ -1,5 +1,9 @@
# The Reia metaclass
class Class
+ # Create a new instance of this class
+ def new; Class(); end
+
+ # Name of this class as a string
def name; "Class"; end
# String representation of this class

0 comments on commit 9e7b74b

Please sign in to comment.