## Method generation helpers
sub generate_accessor_method {
- my ($self, $attr_name) = @_;
+ my $self = shift;
my $meta_instance = $self->associated_class->get_meta_instance;
my $slot_name = $self->slot_name;
}
sub generate_reader_method {
- my ($self, $attr_name) = @_;
+ my $self = shift;
my $meta_instance = $self->associated_class->get_meta_instance;
my $slot_name = $self->slot_name;
sub {
}
sub generate_writer_method {
- my ($self, $attr_name) = @_;
+ my $self = shift;
my $meta_instance = $self->associated_class->get_meta_instance;
my $slot_name = $self->slot_name;
sub {
}
sub generate_predicate_method {
- my ($self, $attr_name) = @_;
+ my $self = shift;
my $meta_instance = $self->associated_class->get_meta_instance;
my $slot_name = $self->slot_name;
sub {
=over 4
-=item B<generate_accessor_method ($attr_name)>
+=item B<generate_accessor_method>
-=item B<generate_predicate_method ($attr_name)>
+=item B<generate_predicate_method>
-=item B<generate_reader_method ($attr_name)>
+=item B<generate_reader_method>
-=item B<generate_writer_method ($attr_name)>
+=item B<generate_writer_method>
=back