summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/ast
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/ast')
-rw-r--r--lib/puppet/parser/ast/component.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/parser/ast/component.rb b/lib/puppet/parser/ast/component.rb
index f67d53b4b..a21a03517 100644
--- a/lib/puppet/parser/ast/component.rb
+++ b/lib/puppet/parser/ast/component.rb
@@ -21,6 +21,10 @@ class Puppet::Parser::AST
# These are retrieved when looking up the superclass
attr_accessor :name
+ def child_of?(klass)
+ false
+ end
+
def evaluate(hash)
origscope = hash[:scope]
objtype = hash[:type]