Sha256: d04be5f0b6fa76ad706fe61704d77d880b9f5e2599e0a082c56b2c54acd07b40

Contents?: true

Size: 425 Bytes

Versions: 8

Compression:

Stored size: 425 Bytes

Contents

# frozen_string_literal: true

require 'puppet-strings/markdown/base'

module PuppetStrings::Markdown
  # Generates Markdown for a Puppet Defined Type.
  class DefinedType < Base
    group_name 'Defined types'
    yard_types [:puppet_defined_type]

    def initialize(registry)
      @template = 'classes_and_defines.erb'
      super(registry, 'defined type')
    end

    def render
      super(@template)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
puppet-strings-4.1.3 lib/puppet-strings/markdown/defined_type.rb
puppet-strings-4.1.2 lib/puppet-strings/markdown/defined_type.rb
puppet-strings-4.1.1 lib/puppet-strings/markdown/defined_type.rb
puppet-strings-4.1.0 lib/puppet-strings/markdown/defined_type.rb
puppet-strings-4.0.0 lib/puppet-strings/markdown/defined_type.rb
puppet-strings-4.0.0.rc.1 lib/puppet-strings/markdown/defined_type.rb
puppet-strings-3.0.1 lib/puppet-strings/markdown/defined_type.rb
puppet-strings-3.0.0 lib/puppet-strings/markdown/defined_type.rb