class PuppetStrings::Yard::Parsers::Puppet::ClassStatement

Implements the Puppet class statement.

Attributes

name[R]
parent_class[R]

Public Class Methods

new(object, file) click to toggle source

Initializes the Puppet class statement. @param [Puppet::Pops::Model::HostClassDefinition] object The model object for the class statement. @param [String] file The file containing the statement.

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