@@ -92,7 +92,7 @@ def initialize(parameter)
9292 # @param object The Puppet parser model object that has parameters.
9393 # @param [String] file The file containing the statement.
9494 def initialize ( object , file )
95- super ( object , file )
95+ super
9696 @parameters = object . parameters . map { |parameter | Parameter . new ( parameter ) }
9797 end
9898 end
@@ -105,7 +105,7 @@ class ClassStatement < ParameterizedStatement
105105 # @param [Puppet::Pops::Model::HostClassDefinition] object The model object for the class statement.
106106 # @param [String] file The file containing the statement.
107107 def initialize ( object , file )
108- super ( object , file )
108+ super
109109 @name = object . name
110110 @parent_class = object . parent_class
111111 end
@@ -119,7 +119,7 @@ class DefinedTypeStatement < ParameterizedStatement
119119 # @param [Puppet::Pops::Model::ResourceTypeDefinition] object The model object for the defined type statement.
120120 # @param [String] file The file containing the statement.
121121 def initialize ( object , file )
122- super ( object , file )
122+ super
123123 @name = object . name
124124 end
125125 end
@@ -132,7 +132,7 @@ class FunctionStatement < ParameterizedStatement
132132 # @param [Puppet::Pops::Model::FunctionDefinition] object The model object for the function statement.
133133 # @param [String] file The file containing the statement.
134134 def initialize ( object , file )
135- super ( object , file )
135+ super
136136 @name = object . name
137137 return unless object . respond_to? :return_type
138138
@@ -151,7 +151,7 @@ class PlanStatement < ParameterizedStatement
151151 # @param [Puppet::Pops::Model::PlanDefinition] object The model object for the plan statement.
152152 # @param [String] file The file containing the statement.
153153 def initialize ( object , file )
154- super ( object , file )
154+ super
155155 @name = object . name
156156 end
157157 end
@@ -164,7 +164,7 @@ class DataTypeAliasStatement < Statement
164164 # @param [Puppet::Pops::Model::TypeAlias] object The model object for the type statement.
165165 # @param [String] file The file containing the statement.
166166 def initialize ( object , file )
167- super ( object , file )
167+ super
168168
169169 type_expr = object . type_expr
170170 case type_expr
0 commit comments