Class: PuppetfileResolver::Puppetfile::InvalidModule

Inherits:
BaseModule
  • Object
show all
Defined in:
lib/puppetfile-resolver/puppetfile/invalid_module.rb

Instance Attribute Summary collapse

Attributes inherited from BaseModule

#location, #module_type, #name, #owner, #resolver_flags, #title, #version

Instance Method Summary collapse

Methods inherited from BaseModule

#to_s

Constructor Details

#initialize(title) ⇒ InvalidModule

Returns a new instance of InvalidModule.



10
11
12
13
# File 'lib/puppetfile-resolver/puppetfile/invalid_module.rb', line 10

def initialize(title)
  super
  @module_type = INVALID_MODULE
end

Instance Attribute Details

#reasonObject

Returns the value of attribute reason.



8
9
10
# File 'lib/puppetfile-resolver/puppetfile/invalid_module.rb', line 8

def reason
  @reason
end