Class: Capistrano::Configuration::Server::Selector
- Inherits:
-
Object
- Object
- Capistrano::Configuration::Server::Selector
- Defined in:
- lib/capistrano/configuration/server.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Exclusive
Class Method Summary collapse
Instance Method Summary collapse
- #call(server) ⇒ Object
- #callable ⇒ Object
-
#initialize(options) ⇒ Selector
constructor
A new instance of Selector.
Constructor Details
#initialize(options) ⇒ Selector
Returns a new instance of Selector.
119 120 121 |
# File 'lib/capistrano/configuration/server.rb', line 119 def initialize() @options = end |
Class Method Details
.for(options) ⇒ Object
123 124 125 126 127 128 129 |
# File 'lib/capistrano/configuration/server.rb', line 123 def self.for() if .has_key?(:exclude) Exclusive else self end.new() end |