Move to Moo for fast bootstrapping.
[p5sagit/Devel-REPL.git] / lib / Devel / REPL / Meta / Plugin.pm
diff --git a/lib/Devel/REPL/Meta/Plugin.pm b/lib/Devel/REPL/Meta/Plugin.pm
deleted file mode 100644 (file)
index cd544c7..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-package Devel::REPL::Meta::Plugin;
-
-use Moose;
-
-extends 'Moose::Meta::Role';
-
-before 'apply' => sub {
-  my ($self, $other) = @_;
-  return unless $other->isa('Devel::REPL');
-  if (my $pre = $self->get_method('BEFORE_PLUGIN')) {
-    $pre->body->($other, $self);
-  }
-};
-
-after 'apply' => sub {
-  my ($self, $other) = @_;
-  return unless $other->isa('Devel::REPL');
-  if (my $pre = $self->get_method('AFTER_PLUGIN')) {
-    $pre->body->($other, $self);
-  }
-};
-
-1;