Class: PuppetfileResolver::SpecSearchers::Configuration
- Inherits:
-
Object
- Object
- PuppetfileResolver::SpecSearchers::Configuration
- Defined in:
- lib/puppetfile-resolver/spec_searchers/configuration.rb
Instance Attribute Summary collapse
-
#forge ⇒ Object
readonly
Returns the value of attribute forge.
-
#git ⇒ Object
readonly
Returns the value of attribute git.
-
#local ⇒ Object
readonly
Returns the value of attribute local.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
14 15 16 17 18 |
# File 'lib/puppetfile-resolver/spec_searchers/configuration.rb', line 14 def initialize @local = LocalConfiguration.new @forge = ForgeConfiguration.new @git = GitConfiguration.new end |
Instance Attribute Details
#forge ⇒ Object (readonly)
Returns the value of attribute forge.
11 12 13 |
# File 'lib/puppetfile-resolver/spec_searchers/configuration.rb', line 11 def forge @forge end |
#git ⇒ Object (readonly)
Returns the value of attribute git.
12 13 14 |
# File 'lib/puppetfile-resolver/spec_searchers/configuration.rb', line 12 def git @git end |
#local ⇒ Object (readonly)
Returns the value of attribute local.
10 11 12 |
# File 'lib/puppetfile-resolver/spec_searchers/configuration.rb', line 10 def local @local end |