Class: Yarg::Scm::Base
- Inherits:
-
Object
- Object
- Yarg::Scm::Base
- Defined in:
- lib/yarg/scm.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#using ⇒ Object
Returns the value of attribute using.
Instance Method Summary collapse
- #commit_commands ⇒ Object
- #init_commands ⇒ Object
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
- #install(repository, destination) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/yarg/scm.rb', line 6 def initialize( = {}) self.using = [:using] end |
Instance Attribute Details
#using ⇒ Object
Returns the value of attribute using.
4 5 6 |
# File 'lib/yarg/scm.rb', line 4 def using @using end |
Instance Method Details
#commit_commands ⇒ Object
14 15 16 |
# File 'lib/yarg/scm.rb', line 14 def commit_commands [] end |
#init_commands ⇒ Object
10 11 12 |
# File 'lib/yarg/scm.rb', line 10 def init_commands [] end |
#install(repository, destination) ⇒ Object
18 19 20 |
# File 'lib/yarg/scm.rb', line 18 def install(repository, destination) raise NotImplementedError, "install is not implemented by #{self.class.name}" end |