From 7cb2144e55c04902021ffaca6fbd9bb80abf6b2b Mon Sep 17 00:00:00 2001 From: doy Date: Sun, 26 Apr 2009 23:39:57 -0500 Subject: manually specify the formatted trait too, for the attribute we're setting metaclass explicitly on --- lib/Bot/Games/Game.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- cgit v1.2.3-54-g00ecf