Sha256: 2cf98cee8a9742ce7764d1e51908da800cc6e696d8c8a833dcc1d4ac07feeb66

Contents?: true

Size: 738 Bytes

Versions: 2

Compression:

Stored size: 738 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 :ResourceAPIObject, 'pdk/generate/resource_api_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

2 entries across 2 versions & 1 rubygems

Version Path
pdk-1.18.1 lib/pdk/generate.rb
pdk-1.18.0 lib/pdk/generate.rb