diff options
author | doy <doy@tozt.net> | 2009-04-26 22:24:14 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-04-26 22:24:14 -0500 |
commit | 666ae159e66abf14e5ba3774f848f38be5940461 (patch) | |
tree | 23e97c925447559c0757e2a60dfb02b67d8482d3 /lib/Bot/Games/OO/Game.pm | |
parent | 32e96dd47b9ca6e2ee14f3c8ada101d45cd56c88 (diff) | |
download | bot-games-666ae159e66abf14e5ba3774f848f38be5940461.tar.gz bot-games-666ae159e66abf14e5ba3774f848f38be5940461.zip |
add roles for formatting the results of methods
Diffstat (limited to 'lib/Bot/Games/OO/Game.pm')
-rw-r--r-- | lib/Bot/Games/OO/Game.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Bot/Games/OO/Game.pm b/lib/Bot/Games/OO/Game.pm index 9f19fb7..e6cb762 100644 --- a/lib/Bot/Games/OO/Game.pm +++ b/lib/Bot/Games/OO/Game.pm @@ -40,7 +40,10 @@ sub init_meta { for_class => $options{for_class}, attribute_metaclass_roles => - ['Bot::Games::Trait::Attribute::Command'], + ['Bot::Games::Trait::Attribute::Command', + 'Bot::Games::Trait::Attribute::Formatted'], + method_metaclass_roles => + ['Bot::Games::Trait::Method::Formatted'], metaclass_roles => ['Bot::Games::Trait::Class::Command'], ); |