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
-
#initialize(url, path, _config = default_config) ⇒ Base
constructor
A new instance of Base.
- #retrieve ⇒ 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
#retrieve ⇒ Object
17 18 19 |
# File 'lib/repomen/repo/handler/base.rb', line 17 def retrieve raise NotImplementedError end |