sub helper_type { 'Bag' }
-before 'process_options_for_handles' => sub {
- my ( $self, $options, $name ) = @_;
-
- # Set some default attribute options here unless already defined
- if ( ( my $type = $self->helper_type ) && !exists $options->{isa} ) {
- $options->{isa} = $type;
- }
-
- $options->{default} = sub { +{} }
- unless exists $options->{default};
-};
+sub _default_default { sub { {} } }
no Moose::Role;
no Moose::Util::TypeConstraints;