diff options
author | Luke Kanies <luke@madstop.com> | 2008-02-11 17:59:34 -0600 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-02-11 17:59:34 -0600 |
commit | fd0c5cbddec8dc53196a3b84e33e1000c3c0720f (patch) | |
tree | cf5a4460e03f34285a81bce38e7ad2566c16edad /lib/puppet/parser/ast/resource.rb | |
parent | 5ebaa8953155d091ed5b5c68c3862c9f695f03c0 (diff) | |
download | puppet-fd0c5cbddec8dc53196a3b84e33e1000c3c0720f.tar.gz puppet-fd0c5cbddec8dc53196a3b84e33e1000c3c0720f.tar.xz puppet-fd0c5cbddec8dc53196a3b84e33e1000c3c0720f.zip |
Changing the name of the Compile class to Compiler,
since it's stupid to have a class named after
a verb.
Diffstat (limited to 'lib/puppet/parser/ast/resource.rb')
-rw-r--r-- | lib/puppet/parser/ast/resource.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/parser/ast/resource.rb b/lib/puppet/parser/ast/resource.rb index 2dadf9ed6..8a60522a3 100644 --- a/lib/puppet/parser/ast/resource.rb +++ b/lib/puppet/parser/ast/resource.rb @@ -48,10 +48,10 @@ class Resource < AST::ResourceReference :scope => scope ) - # And then store the resource in the compile. + # And then store the resource in the compiler. # At some point, we need to switch all of this to return # objects instead of storing them like this. - scope.compile.add_resource(scope, obj) + scope.compiler.add_resource(scope, obj) obj end }.reject { |obj| obj.nil? } |