Class: Repomen::Repo::Handler::Base
- Inherits:
-
Object
- Object
- Repomen::Repo::Handler::Base
- Includes:
- WithDefaultConfig
- Defined in:
- lib/repomen/repo/handler/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
- #branch_name ⇒ Object
- #change_branch(name) ⇒ Object
-
#initialize(url, path, _config = default_config) ⇒ Base
constructor
A new instance of Base.
- #retrieve ⇒ Object
- #revision ⇒ Object
- #tag ⇒ Object
Methods included from WithDefaultConfig
Constructor Details
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
7 8 9 |
# File 'lib/repomen/repo/handler/base.rb', line 7 def config @config end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
8 9 10 |
# File 'lib/repomen/repo/handler/base.rb', line 8 def path @path end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
9 10 11 |
# File 'lib/repomen/repo/handler/base.rb', line 9 def url @url end |
Instance Method Details
#branch_name ⇒ Object
17 18 19 |
# File 'lib/repomen/repo/handler/base.rb', line 17 def branch_name raise NotImplementedError end |
#change_branch(name) ⇒ Object
21 22 23 |
# File 'lib/repomen/repo/handler/base.rb', line 21 def change_branch(name) raise NotImplementedError end |
#retrieve ⇒ Object
25 26 27 |
# File 'lib/repomen/repo/handler/base.rb', line 25 def retrieve raise NotImplementedError end |
#revision ⇒ Object
29 30 31 |
# File 'lib/repomen/repo/handler/base.rb', line 29 def revision raise NotImplementedError end |
#tag ⇒ Object
33 34 35 |
# File 'lib/repomen/repo/handler/base.rb', line 33 def tag raise NotImplementedError end |