class PuppetStrings::Yard::Parsers::Puppet::ClassStatement
Implements the Puppet
class statement.
Attributes
Public Class Methods
Source
# File lib/puppet-strings/yard/parsers/puppet/statement.rb, line 107 def initialize(object, file) super @name = object.name @parent_class = object.parent_class end
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.
Calls superclass method
PuppetStrings::Yard::Parsers::Puppet::ParameterizedStatement::new