Sha256: 81516db427c9486d7dcdb8e39e82bc0e78aee5b0184628df5d6701b73af86858

Contents?: true

Size: 669 Bytes

Versions: 3

Compression:

Stored size: 669 Bytes

Contents

require 'pdk'

module PDK
  module Generate
    autoload :DefinedType, 'pdk/generate/defined_type'
    autoload :Module, 'pdk/generate/module'
    autoload :Provider, 'pdk/generate/provider'
    autoload :PuppetClass, 'pdk/generate/puppet_class'
    autoload :PuppetObject, 'pdk/generate/puppet_object'
    autoload :Task, 'pdk/generate/task'
    autoload :Transport, 'pdk/generate/transport'

    def generators
      @generators ||= [
        PDK::Generate::DefinedType,
        PDK::Generate::Provider,
        PDK::Generate::PuppetClass,
        PDK::Generate::Task,
        PDK::Generate::Transport
      ].freeze
    end
    module_function :generators
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pdk-3.3.0 lib/pdk/generate.rb
pdk-3.0.1 lib/pdk/generate.rb
pdk-3.0.0 lib/pdk/generate.rb