From c464538c709d2a2681f8ae1c75c7808032c94e5b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 24 Feb 2012 15:21:36 -0600 Subject: this is just a delegation --- lib/App/Ttyrec.pm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/App/Ttyrec.pm b/lib/App/Ttyrec.pm index e1ac0ae..819fb21 100644 --- a/lib/App/Ttyrec.pm +++ b/lib/App/Ttyrec.pm @@ -43,6 +43,7 @@ has term => ( }, ); }, + handles => ['run'], ); sub BUILD { @@ -52,13 +53,6 @@ sub BUILD { if $self->append; } -sub run { - my $self = shift; - my (@cmd) = @_; - - $self->term->run(@cmd); -} - __PACKAGE__->meta->make_immutable; no Moose; -- cgit v1.2.3-54-g00ecf