Apply rt.cpan.org patch 1o4 (#421899)
[p5sagit/Devel-REPL.git] / lib / Devel / REPL / Profile / Minimal.pm
1 package Devel::REPL::Profile::Minimal;
2
3 use Moose;
4 use namespace::clean -except => [ 'meta' ];
5
6 with 'Devel::REPL::Profile';
7
8 sub plugins {
9   qw(History LexEnv DDS Packages Commands MultiLine::PPI);
10 }
11
12 sub apply_profile {
13   my ($self, $repl) = @_;
14   $repl->load_plugin($_) for $self->plugins;
15 }
16
17 1;