Class: Puppet::Parser::AST::ResourceInstance

Inherits:
Branch show all
Defined in:
lib/puppet/parser/ast/resource_instance.rb

Overview

A simple container for a parameter for an object. Consists of a title and a set of parameters.

Constant Summary

Constants inherited from Puppet::Parser::AST

AST

Instance Attribute Summary collapse

Attributes inherited from Branch

#children, #pin

Attributes inherited from Puppet::Parser::AST

#file, #line, #parent, #pos, #scope

Method Summary

Methods inherited from Branch

#each, #initialize

Methods inherited from Puppet::Parser::AST

#evaluate, #initialize, #inspect, #safeevaluate

Methods included from Util::MethodHelper

#requiredopts, #set_options, #symbolize_options

Methods included from Util::Errors

#adderrorcontext, #devfail, #error_context, #exceptwrap, #fail

Constructor Details

This class inherits a constructor from Puppet::Parser::AST::Branch

Instance Attribute Details

#parametersObject



5
6
7
# File 'lib/puppet/parser/ast/resource_instance.rb', line 5

def parameters
  @parameters
end

#titleObject



5
6
7
# File 'lib/puppet/parser/ast/resource_instance.rb', line 5

def title
  @title
end