projects
/
p5sagit/Devel-REPL.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1680cce
)
use traits from Moose rather than MooseX::AttributeHelpers
Zakariyya Mughal [Sun, 17 Mar 2013 22:34:10 +0000 (17:34 -0500)]
lib/Devel/REPL/Plugin/Nopaste.pm
patch
|
blob
|
blame
|
history
lib/Devel/REPL/Plugin/Turtles.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Devel/REPL/Plugin/Nopaste.pm
b/lib/Devel/REPL/Plugin/Nopaste.pm
index
db6ff7c
..
485d08c
100644
(file)
--- a/
lib/Devel/REPL/Plugin/Nopaste.pm
+++ b/
lib/Devel/REPL/Plugin/Nopaste.pm
@@
-11,7
+11,7
@@
sub BEFORE_PLUGIN {
}
has complete_session => (
- metaclass => 'String',
+ traits => ['String'],
is => 'rw',
isa => 'Str',
lazy => 1,
diff --git
a/lib/Devel/REPL/Plugin/Turtles.pm
b/lib/Devel/REPL/Plugin/Turtles.pm
index
a8fd9df
..
5f323fe
100644
(file)
--- a/
lib/Devel/REPL/Plugin/Turtles.pm
+++ b/
lib/Devel/REPL/Plugin/Turtles.pm
@@
-12,7
+12,7
@@
has default_command_prefix => (
);
has turtles_matchers => (
- metaclass => "Collection::Array",
+ traits => ['Array'],
isa => "ArrayRef[RegexpRef|CodeRef]",
is => "rw",
lazy => 1,