Class: Net::SSH::Connection::Session::NilChannel
- Inherits:
-
Object
- Object
- Net::SSH::Connection::Session::NilChannel
- Defined in:
- lib/net/ssh/connection/session.rb
Instance Method Summary collapse
-
#initialize(session) ⇒ NilChannel
constructor
A new instance of NilChannel.
- #method_missing(sym, *args) ⇒ Object
Constructor Details
#initialize(session) ⇒ NilChannel
Returns a new instance of NilChannel.
57 58 59 |
# File 'lib/net/ssh/connection/session.rb', line 57 def initialize(session) @session = session end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(sym, *args) ⇒ Object
61 62 63 |
# File 'lib/net/ssh/connection/session.rb', line 61 def method_missing(sym, *args) @session.lwarn { "ignoring request #{sym.inspect} for non-existent (closed?) channel; probably ssh server bug" } end |