summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-02-24 15:21:36 -0600
committerJesse Luehrs <doy@tozt.net>2012-02-24 15:21:36 -0600
commitc464538c709d2a2681f8ae1c75c7808032c94e5b (patch)
treeba5207e217ce73fafdf02de0cfd34f6cbfd0037a
parent094e296335e1d6d5e3de0d0d5484cba83c8a85ae (diff)
downloadapp-ttyrec-c464538c709d2a2681f8ae1c75c7808032c94e5b.tar.gz
app-ttyrec-c464538c709d2a2681f8ae1c75c7808032c94e5b.zip
this is just a delegation
-rw-r--r--lib/App/Ttyrec.pm8
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;