Evening all,
So I am in the process of adding class-methods into the meta-model
using eigenclasses. Eigenclasses are a ruby thing (and also a CLOS
thing IIRC), in which an anon-class is inserted between an instance
and it's class, essentially replacing the instance's class. The anon-
On 10/10/05, Stevan Little [EMAIL PROTECTED] wrote:
::Class
^
: -- eFoo is a subclass of Class
:
::eFoo # eFoo is also an instance of Class
|
| -- eFoo is the class of Foo
V
::Foo
The dispatching of instance methods is still the same, and
Luke,
On Oct 10, 2005, at 7:47 PM, Luke Palmer wrote:
How do you explain this:
class Foo {
method bar (Class $class:) { class method }
}
say Foo.bar;# class method
my $foo = Foo.new;
say $foo.bar; # class method
Assuming that that is valid Perl.
It