Permalink
Browse files

Add associate_method()

  • Loading branch information...
1 parent 01740d3 commit 4b5fc8990281bcdffc24061477663f5097fba5aa @gfx gfx committed Dec 16, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/MouseX/AttributeHelpers/Base.pm
@@ -46,6 +46,7 @@ around 'install_accessors' => sub {
};
$metaclass->add_method($aliased => $method);
+ $attr->associate_method($aliased);
}
}
@@ -60,6 +61,7 @@ around 'install_accessors' => sub {
}
$metaclass->add_method($aliased => $constructor->($attr, $name));
+ $attr->associate_method($aliased);
}
return;

0 comments on commit 4b5fc89

Please sign in to comment.