Module: Capistrano::Processable::SessionAssociation
- Defined in:
- lib/capistrano/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/capistrano/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/capistrano/processable.rb', line 4 def self.on(exception, session) unless exception.respond_to?(:session) exception.extend(self) exception.session = session end return exception end |