Class: Indocker::Volumes::Repository
- Inherits:
-
Object
- Object
- Indocker::Volumes::Repository
- Defined in:
- lib/indocker/volumes/repository.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#repository_name ⇒ Object
readonly
Returns the value of attribute repository_name.
Instance Method Summary collapse
-
#initialize(name, repository_alias_name, path) ⇒ Repository
constructor
A new instance of Repository.
Constructor Details
#initialize(name, repository_alias_name, path) ⇒ Repository
Returns a new instance of Repository.
4 5 6 7 8 |
# File 'lib/indocker/volumes/repository.rb', line 4 def initialize(name, repository_alias_name, path) @name = name @repository_name = repository_alias_name @path = path end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
2 3 4 |
# File 'lib/indocker/volumes/repository.rb', line 2 def name @name end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
2 3 4 |
# File 'lib/indocker/volumes/repository.rb', line 2 def path @path end |
#repository_name ⇒ Object (readonly)
Returns the value of attribute repository_name.
2 3 4 |
# File 'lib/indocker/volumes/repository.rb', line 2 def repository_name @repository_name end |