diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-06-02 00:22:31 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-06-02 01:16:16 -0500 |
commit | ef21a0ac590775dcbd929339827408922046c7d3 (patch) | |
tree | dce14736f0bb6f1dd552872612e845506904fc49 /lib/Bot/Games/Trait/Attribute | |
parent | bf67b7d5ea5a353b79b724933e23cbe36acd82c2 (diff) | |
download | bot-games-ef21a0ac590775dcbd929339827408922046c7d3.tar.gz bot-games-ef21a0ac590775dcbd929339827408922046c7d3.zip |
convert traits over to use the new exporter
Diffstat (limited to 'lib/Bot/Games/Trait/Attribute')
-rw-r--r-- | lib/Bot/Games/Trait/Attribute/Command.pm | 4 | ||||
-rw-r--r-- | lib/Bot/Games/Trait/Attribute/Formatted.pm | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Bot/Games/Trait/Attribute/Command.pm b/lib/Bot/Games/Trait/Attribute/Command.pm index 9b51b13..ee6e732 100644 --- a/lib/Bot/Games/Trait/Attribute/Command.pm +++ b/lib/Bot/Games/Trait/Attribute/Command.pm @@ -1,5 +1,5 @@ package Bot::Games::Trait::Attribute::Command; -use Moose::Role; +use Bot::Games::OO::Role; has command => ( is => 'rw', @@ -40,6 +40,6 @@ after install_accessors => sub { $method_meta->needs_init($self->needs_init); }; -no Moose::Role; +no Bot::Games::OO::Role; 1; diff --git a/lib/Bot/Games/Trait/Attribute/Formatted.pm b/lib/Bot/Games/Trait/Attribute/Formatted.pm index 303c1bc..00db707 100644 --- a/lib/Bot/Games/Trait/Attribute/Formatted.pm +++ b/lib/Bot/Games/Trait/Attribute/Formatted.pm @@ -1,5 +1,5 @@ package Bot::Games::Trait::Attribute::Formatted; -use Moose::Role; +use Bot::Games::OO::Role; # when the attribute is being constructed, the accessor methods haven't been # generated yet, so we need to store the formatter here, and then apply it @@ -53,6 +53,6 @@ after install_accessors => sub { } }; -no Moose::Role; +no Bot::Games::OO::Role; 1; |