Sha256: 82dfb228488167f2a1c86cdfe80996514cda91f1ece9ab032e93a4b316f68321

Contents?: true

Size: 670 Bytes

Versions: 14

Compression:

Stored size: 670 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

14 entries across 14 versions & 1 rubygems

Version Path
pdk-2.7.1 lib/pdk/generate.rb
pdk-2.7.0 lib/pdk/generate.rb
pdk-2.6.1 lib/pdk/generate.rb
pdk-2.6.0 lib/pdk/generate.rb
pdk-2.5.0 lib/pdk/generate.rb
pdk-2.3.0 lib/pdk/generate.rb
pdk-2.2.0 lib/pdk/generate.rb
pdk-2.1.1 lib/pdk/generate.rb
pdk-2.1.0 lib/pdk/generate.rb
pdk-2.0.0 lib/pdk/generate.rb
pdk-1.17.0 lib/pdk/generate.rb
pdk-1.16.0 lib/pdk/generate.rb
pdk-1.15.0 lib/pdk/generate.rb
pdk-1.14.1 lib/pdk/generate.rb