Permalink
Browse files

Add Cool.set and Cool.bag.

  • Loading branch information...
colomon committed Feb 9, 2013
1 parent 7ad6e63 commit d76f9b2547546e55124b1e382704a1af0c7fc5a7
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/Cool.pm
View
@@ -190,6 +190,9 @@ my class Cool {
method Int() { self.Numeric.Int }
method Num() { self.Numeric.Num }
method Rat() { self.Numeric.Rat }
+
+ method set() { set self }
+ method bag() { bag self }
}
Metamodel::ClassHOW.exclude_parent(Cool);

0 comments on commit d76f9b2

Please sign in to comment.