Class: Middleman::Deploy::Strategies::Git::Base
- Inherits:
-
Object
- Object
- Middleman::Deploy::Strategies::Git::Base
- Defined in:
- lib/middleman-deploy/strategies/git/base.rb
Instance Attribute Summary collapse
-
#branch ⇒ Object
Returns the value of attribute branch.
-
#build_dir ⇒ Object
Returns the value of attribute build_dir.
-
#remote ⇒ Object
Returns the value of attribute remote.
Instance Method Summary collapse
-
#initialize(build_dir, remote, branch) ⇒ Base
constructor
A new instance of Base.
- #process ⇒ Object
Constructor Details
#initialize(build_dir, remote, branch) ⇒ Base
Returns a new instance of Base.
8 9 10 11 12 |
# File 'lib/middleman-deploy/strategies/git/base.rb', line 8 def initialize(build_dir, remote, branch) self.branch = branch self.build_dir = build_dir self.remote = remote end |
Instance Attribute Details
#branch ⇒ Object
Returns the value of attribute branch.
6 7 8 |
# File 'lib/middleman-deploy/strategies/git/base.rb', line 6 def branch @branch end |
#build_dir ⇒ Object
Returns the value of attribute build_dir.
6 7 8 |
# File 'lib/middleman-deploy/strategies/git/base.rb', line 6 def build_dir @build_dir end |
#remote ⇒ Object
Returns the value of attribute remote.
6 7 8 |
# File 'lib/middleman-deploy/strategies/git/base.rb', line 6 def remote @remote end |
Instance Method Details
#process ⇒ Object
14 15 16 |
# File 'lib/middleman-deploy/strategies/git/base.rb', line 14 def process raise NotImplementedError end |