Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add associate_method()

  • Loading branch information...
commit 4b5fc8990281bcdffc24061477663f5097fba5aa 1 parent 01740d3
FUJI Goro (gfx) gfx authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/MouseX/AttributeHelpers/Base.pm
2  lib/MouseX/AttributeHelpers/Base.pm
View
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.