summaryrefslogtreecommitdiffstats
path: root/lib/Bot/Games/OO/Game.pm
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-04-26 22:24:14 -0500
committerdoy <doy@tozt.net>2009-04-26 22:24:14 -0500
commit666ae159e66abf14e5ba3774f848f38be5940461 (patch)
tree23e97c925447559c0757e2a60dfb02b67d8482d3 /lib/Bot/Games/OO/Game.pm
parent32e96dd47b9ca6e2ee14f3c8ada101d45cd56c88 (diff)
downloadbot-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.pm5
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'],
);