From 7c2565720c898b0573a5a30db958d8a78577f4a4 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Sat, 1 Mar 2014 11:35:17 +0200 Subject: Add Model#output method Outputs about what we've seen last in input class. Quite dirty in telnet, so not sure I'm going to support it. Let's see if there is use-case for it. --- lib/oxidized/model/model.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/oxidized/model') diff --git a/lib/oxidized/model/model.rb b/lib/oxidized/model/model.rb index 2a6cbc4..f95443d 100644 --- a/lib/oxidized/model/model.rb +++ b/lib/oxidized/model/model.rb @@ -53,6 +53,10 @@ module Oxidized out end + def output + @input.output + end + def send data @input.send data end -- cgit v1.2.1