diff options
author | Saku Ytti <saku@ytti.fi> | 2014-03-01 11:35:17 +0200 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-03-01 11:35:17 +0200 |
commit | 7c2565720c898b0573a5a30db958d8a78577f4a4 (patch) | |
tree | 525994271e0b6685439d1c2e12d64a98ed6e69a7 /lib/oxidized/model/model.rb | |
parent | b0c6086256522ad1a7403937968184cab7f89d0c (diff) |
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.
Diffstat (limited to 'lib/oxidized/model/model.rb')
-rw-r--r-- | lib/oxidized/model/model.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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 |