Sha256: 14158e0959c2889eee52d735a55a9c86371c35bbe8b7d3293a42a16bf8b953dc
Contents?: true
Size: 785 Bytes
Versions: 11
Compression:
Stored size: 785 Bytes
Contents
require 'pdk' module PDK module Context # Represents a context for a Puppet Module class Module < PDK::Context::AbstractContext # @param module_root [String] The root path for the module. # @param context_path [String] The path where this context was created from e.g. Dir.pwd # @see PDK::Context::AbstractContext def initialize(module_root, context_path) super(context_path) @root_path = module_root end # @see PDK::Context::AbstractContext.pdk_compatible? def pdk_compatible? PDK::Util.module_pdk_compatible?(root_path) end #:nocov: # @see PDK::Context::AbstractContext.display_name def display_name _('a Puppet Module context') end #:nocov: end end end
Version data entries
11 entries across 11 versions & 1 rubygems