diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-02-24 15:21:36 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-02-24 15:21:36 -0600 |
commit | c464538c709d2a2681f8ae1c75c7808032c94e5b (patch) | |
tree | ba5207e217ce73fafdf02de0cfd34f6cbfd0037a /lib | |
parent | 094e296335e1d6d5e3de0d0d5484cba83c8a85ae (diff) | |
download | app-ttyrec-c464538c709d2a2681f8ae1c75c7808032c94e5b.tar.gz app-ttyrec-c464538c709d2a2681f8ae1c75c7808032c94e5b.zip |
this is just a delegation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/App/Ttyrec.pm | 8 |
1 files changed, 1 insertions, 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; |