extends 'Moose::Meta::Method::Accessor';
-sub generate_accessor_method {
+sub _generate_accessor_method {
my $attr = (shift)->associated_attribute;
return sub {
my $self = shift;
};
}
-sub generate_writer_method {
+sub _generate_writer_method {
my $attr = (shift)->associated_attribute;
return sub {
my $self = shift;
}
# FIXME - this is shite, but it does work...
-sub generate_accessor_method_inline {
+sub _generate_accessor_method_inline {
my $attr = (shift)->associated_attribute;
my $attr_name = $attr->name;
my $meta_instance = $attr->associated_class->instance_metaclass;
{
my $meta = __PACKAGE__->meta;
- $meta->add_method(generate_writer_method_inline => $meta->get_method('generate_accessor_method_inline'));
+ $meta->add_method(_generate_writer_method_inline => $meta->get_method('_generate_accessor_method_inline'));
}
no Moose;