projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
More cleanup in native documentation
[gitmo/Moose.git]
/
lib
/
Moose
/
Meta
/
Attribute
/
Native
/
Trait
/
String.pm
diff --git
a/lib/Moose/Meta/Attribute/Native/Trait/String.pm
b/lib/Moose/Meta/Attribute/Native/Trait/String.pm
index
1566644
..
861b5c7
100644
(file)
--- a/
lib/Moose/Meta/Attribute/Native/Trait/String.pm
+++ b/
lib/Moose/Meta/Attribute/Native/Trait/String.pm
@@
-52,14
+52,14
@@
Moose::Meta::Attribute::Native::Trait::String
use Moose;
has 'text' => (
- metaclass => 'String',
+ traits => ['String'],
is => 'rw',
isa => 'Str',
default => q{},
- handles => {
+ handles => {
add_text => 'append',
replace_text => 'replace',
- }
+ },
);
my $page = MyHomePage->new();