Module: Stevenson::Deployer::Base
- Included in:
- S3
- Defined in:
- lib/stevenson/deployer.rb
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/stevenson/deployer.rb', line 6 def @options end |
Class Method Details
.included(deployer) ⇒ Object
8 9 10 11 12 |
# File 'lib/stevenson/deployer.rb', line 8 def self.included(deployer) deployer.extend ClassMethods Stevenson.deployers[deployer.deployer_name] = deployer end |
Instance Method Details
#deploy!(directory) ⇒ Object
24 25 26 |
# File 'lib/stevenson/deployer.rb', line 24 def deploy!(directory) raise NotImplementedError end |
#initialize(options) ⇒ Object
20 21 22 |
# File 'lib/stevenson/deployer.rb', line 20 def initialize() @options = end |