Class: Middleman::Deploy::Methods::Base
- Inherits:
-
Object
- Object
- Middleman::Deploy::Methods::Base
- Defined in:
- lib/middleman-deploy/methods/base.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#server_instance ⇒ Object
readonly
Returns the value of attribute server_instance.
Instance Method Summary collapse
-
#initialize(server_instance, options = {}) ⇒ Base
constructor
A new instance of Base.
- #process ⇒ Object
Constructor Details
#initialize(server_instance, options = {}) ⇒ Base
Returns a new instance of Base.
7 8 9 10 |
# File 'lib/middleman-deploy/methods/base.rb', line 7 def initialize(server_instance, ={}) @options = @server_instance = server_instance end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/middleman-deploy/methods/base.rb', line 5 def @options end |
#server_instance ⇒ Object (readonly)
Returns the value of attribute server_instance.
5 6 7 |
# File 'lib/middleman-deploy/methods/base.rb', line 5 def server_instance @server_instance end |
Instance Method Details
#process ⇒ Object
12 13 14 |
# File 'lib/middleman-deploy/methods/base.rb', line 12 def process raise NotImplementedError end |