diff options
author | doy <doy@tozt.net> | 2009-04-26 23:39:57 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-04-26 23:39:57 -0500 |
commit | 7cb2144e55c04902021ffaca6fbd9bb80abf6b2b (patch) | |
tree | 5807d550cfb2ea1a9bc8dd705effd6bc1c2592a9 /lib/Bot/Games | |
parent | e1d0030f8d0501f7d30a9bdeb1d0e13fc39c2d35 (diff) | |
download | bot-games-7cb2144e55c04902021ffaca6fbd9bb80abf6b2b.tar.gz bot-games-7cb2144e55c04902021ffaca6fbd9bb80abf6b2b.zip |
manually specify the formatted trait too, for the attribute we're setting metaclass explicitly on
Diffstat (limited to 'lib/Bot/Games')
-rw-r--r-- | lib/Bot/Games/Game.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Bot/Games/Game.pm b/lib/Bot/Games/Game.pm index b5fbf73..7f68b71 100644 --- a/lib/Bot/Games/Game.pm +++ b/lib/Bot/Games/Game.pm @@ -15,7 +15,8 @@ has help => ( # just use that instead. has players => ( metaclass => 'Collection::Array', - traits => [qw/Bot::Games::Trait::Attribute::Command/], + traits => ['Bot::Games::Trait::Attribute::Command', + 'Bot::Games::Trait::Attribute::Formatted'], is => 'ro', isa => 'ArrayRef[Str]', auto_deref => 1, |