Class: PuppetfileResolver::Puppetfile::GitModule
- Inherits:
-
BaseModule
- Object
- BaseModule
- PuppetfileResolver::Puppetfile::GitModule
- Defined in:
- lib/puppetfile-resolver/puppetfile/git_module.rb
Instance Attribute Summary collapse
-
#commit ⇒ Object
Returns the value of attribute commit.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#remote ⇒ Object
Returns the value of attribute remote.
-
#tag ⇒ Object
Returns the value of attribute tag.
Attributes inherited from BaseModule
#location, #module_type, #name, #owner, #resolver_flags, #title, #version
Instance Method Summary collapse
-
#initialize(title) ⇒ GitModule
constructor
A new instance of GitModule.
Methods inherited from BaseModule
Constructor Details
#initialize(title) ⇒ GitModule
Returns a new instance of GitModule.
13 14 15 16 |
# File 'lib/puppetfile-resolver/puppetfile/git_module.rb', line 13 def initialize(title) super @module_type = GIT_MODULE end |
Instance Attribute Details
#commit ⇒ Object
Returns the value of attribute commit.
10 11 12 |
# File 'lib/puppetfile-resolver/puppetfile/git_module.rb', line 10 def commit @commit end |
#ref ⇒ Object
Returns the value of attribute ref.
9 10 11 |
# File 'lib/puppetfile-resolver/puppetfile/git_module.rb', line 9 def ref @ref end |
#remote ⇒ Object
Returns the value of attribute remote.
8 9 10 |
# File 'lib/puppetfile-resolver/puppetfile/git_module.rb', line 8 def remote @remote end |
#tag ⇒ Object
Returns the value of attribute tag.
11 12 13 |
# File 'lib/puppetfile-resolver/puppetfile/git_module.rb', line 11 def tag @tag end |