class PuppetStrings::Yard::Parsers::Puppet::DefinedTypeStatement

Implements the Puppet defined type statement.

Attributes

name[R]

Public Class Methods

new(object, file) click to toggle source

Initializes the Puppet defined type statement. @param [Puppet::Pops::Model::ResourceTypeDefinition] object The model object for the defined type statement. @param [String] file The file containing the statement.

# File lib/puppet-strings/yard/parsers/puppet/statement.rb, line 128
def initialize(object, file)
  super(object, file)
  @name = object.name
end