Sha256: c16cf6eb60de81a20ad3995662d8f1bcb2e7441054e39caee22119beb9e0366f
Contents?: true
Size: 499 Bytes
Versions: 2
Compression:
Stored size: 499 Bytes
Contents
package Moo::HandleMoose::FakeMetaClass; use strictures 1; sub DESTROY { } sub AUTOLOAD { my ($meth) = (our $AUTOLOAD =~ /([^:]+)$/); require Moo::HandleMoose; Moo::HandleMoose::inject_real_metaclass_for((shift)->{name})->$meth(@_) } sub can { require Moo::HandleMoose; Moo::HandleMoose::inject_real_metaclass_for((shift)->{name})->can(@_) } sub isa { require Moo::HandleMoose; Moo::HandleMoose::inject_real_metaclass_for((shift)->{name})->isa(@_) } sub make_immutable { $_[0] } 1;
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
STLExtract-1.0.1 | Slic3r/Linux/lib/std/Moo/HandleMoose/FakeMetaClass.pm |
STLExtract-1.0.0 | Slic3r/Linux/lib/std/Moo/HandleMoose/FakeMetaClass.pm |