Module: Capissh::Processable::SessionAssociation
- Defined in:
- lib/capissh/processable.rb
Instance Attribute Summary collapse
-
#session ⇒ Object
Returns the value of attribute session.
Class Method Summary collapse
Instance Attribute Details
#session ⇒ Object
Returns the value of attribute session.
13 14 15 |
# File 'lib/capissh/processable.rb', line 13 def session @session end |
Class Method Details
.on(exception, session) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/capissh/processable.rb', line 4 def self.on(exception, session) unless exception.respond_to?(:session) exception.extend(self) exception.session = session end return exception end |