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