my ($self, $c) = @_;
my %all_required_methods =
- map { $_ => undef }
+ map { $_->name => $_ }
map { $_->get_required_method_list }
@{$c->get_roles};
}
}
- $c->add_required_methods(keys %all_required_methods);
+ $c->add_required_methods(values %all_required_methods);
}
sub check_required_attributes {