Class: Indocker::Registries::Abstract
- Inherits:
-
Object
- Object
- Indocker::Registries::Abstract
- Includes:
- Concerns::Inspectable
- Defined in:
- lib/indocker/registries/abstract.rb
Instance Attribute Summary collapse
-
#repository_name ⇒ Object
readonly
Returns the value of attribute repository_name.
Instance Method Summary collapse
-
#initialize(repository_name) ⇒ Abstract
constructor
A new instance of Abstract.
- #is_local? ⇒ Boolean
- #setup(*args) ⇒ Object
Methods included from Concerns::Inspectable
Constructor Details
#initialize(repository_name) ⇒ Abstract
Returns a new instance of Abstract.
6 7 8 |
# File 'lib/indocker/registries/abstract.rb', line 6 def initialize(repository_name) @repository_name = repository_name end |
Instance Attribute Details
#repository_name ⇒ Object (readonly)
Returns the value of attribute repository_name.
4 5 6 |
# File 'lib/indocker/registries/abstract.rb', line 4 def repository_name @repository_name end |
Instance Method Details
#is_local? ⇒ Boolean
14 15 16 |
# File 'lib/indocker/registries/abstract.rb', line 14 def is_local? self.is_a?(Indocker::Registries::Local) end |
#setup(*args) ⇒ Object
10 11 12 |
# File 'lib/indocker/registries/abstract.rb', line 10 def setup(*args) self end |