Class: HrrRbSsh::Connection::Channel::ChannelType::Session::ProcChain::ChainContext
- Inherits:
-
Object
- Object
- HrrRbSsh::Connection::Channel::ChannelType::Session::ProcChain::ChainContext
- Defined in:
- lib/hrr_rb_ssh/connection/channel/channel_type/session/proc_chain/chain_context.rb
Instance Method Summary collapse
- #call_next(*args) ⇒ Object
-
#initialize(proc_chain) ⇒ ChainContext
constructor
A new instance of ChainContext.
Constructor Details
#initialize(proc_chain) ⇒ ChainContext
Returns a new instance of ChainContext.
13 14 15 16 |
# File 'lib/hrr_rb_ssh/connection/channel/channel_type/session/proc_chain/chain_context.rb', line 13 def initialize proc_chain @logger = Logger.new self.class.name @proc_chain = proc_chain end |
Instance Method Details
#call_next(*args) ⇒ Object
17 18 19 |
# File 'lib/hrr_rb_ssh/connection/channel/channel_type/session/proc_chain/chain_context.rb', line 17 def call_next *args @proc_chain.call_next *args end |