Move to Moo for fast bootstrapping.
[p5sagit/Devel-REPL.git] / lib / Devel / REPL / Profile / Default.pm
CommitLineData
b605fe37 1package Devel::REPL::Profile::Default;
2
e2d0b019 3use Moo;
4use namespace::sweep;
b605fe37 5
6with 'Devel::REPL::Profile';
7
8sub plugins { qw(
9 Colors
10 Completion
11 CompletionDriver::INC
12 CompletionDriver::LexEnv
13 CompletionDriver::Keywords
14 CompletionDriver::Methods
15 History
16 LexEnv
17 DDS
18 Packages
19 Commands
20 MultiLine::PPI
21 ReadLineHistory
22);}
23
24sub apply_profile {
25 my ($self, $repl) = @_;
26 $repl->load_plugin($_) for $self->plugins;
27}
28
291;