class Puppet::Pops::Lookup::ExplainModule
Public Class Methods
new(parent, module_name)
click to toggle source
Calls superclass method
Puppet::Pops::Lookup::ExplainTreeNode::new
# File lib/puppet/pops/lookup/explainer.rb 212 def initialize(parent, module_name) 213 super(parent) 214 @module_name = module_name 215 end
Public Instance Methods
dump_on(io, indent, first_indent)
click to toggle source
# File lib/puppet/pops/lookup/explainer.rb 217 def dump_on(io, indent, first_indent) 218 case @event 219 when :module_not_found 220 io << indent << 'Module "' << @module_name << "\" not found\n" 221 when :module_provider_not_found 222 io << indent << 'Module data provider for module "' << @module_name << "\" not found\n" 223 end 224 end
module_not_found()
click to toggle source
# File lib/puppet/pops/lookup/explainer.rb 226 def module_not_found 227 @event = :module_not_found 228 end
module_provider_not_found()
click to toggle source
# File lib/puppet/pops/lookup/explainer.rb 230 def module_provider_not_found 231 @event = :module_provider_not_found 232 end
type()
click to toggle source
# File lib/puppet/pops/lookup/explainer.rb 234 def type 235 :module 236 end