« blib/lib/Gapp/Moose/Meta/Attribute/Trait/GappImageMenuItem.pm
↑ Summary
blib/lib/Gapp/Moose/Meta/Attribute/Trait/GappListStore.pm »
| 1 | package Gapp::Moose::Meta::Attribute::Trait::GappLabel; | ||
| 2 | { | ||
| 3 | $Gapp::Moose::Meta::Attribute::Trait::GappLabel::VERSION = '0.60'; | ||
| 4 | } | ||
| 5 | use Moose::Role; | ||
| 6 | |||
| 7 | before '_process_options' => sub { | ||
| 8 | my ( $class, $name, $opts ) = @_; | ||
| 9 | $opts->{gclass} = 'Gapp::Label' if ! exists $opts->{class}; | ||
| 10 | }; | ||
| 11 | |||
| 12 | package Moose::Meta::Attribute::Custom::Trait::GappLabel; | ||
| 13 | { | ||
| 14 | $Moose::Meta::Attribute::Custom::Trait::GappLabel::VERSION = '0.60'; | ||
| 15 | } | ||
| 16 | sub register_implementation { 'Gapp::Moose::Meta::Attribute::Trait::GappLabel' }; | ||
| 17 | 1; |