diff options
| author | Luke Kanies <luke@madstop.com> | 2007-09-04 12:09:48 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2007-09-04 12:09:48 -0500 |
| commit | 3b2efd2a4b32478b6c6a71e1421061405a0bb11e (patch) | |
| tree | 72e5ada4b0eeb3c83a1f20dfb524363a3fc5db81 /lib/puppet/parser/ast/caseopt.rb | |
| parent | 0faf76ee187c7fa7c67a7fb7e7c345897006b7d8 (diff) | |
| download | puppet-3b2efd2a4b32478b6c6a71e1421061405a0bb11e.tar.gz puppet-3b2efd2a4b32478b6c6a71e1421061405a0bb11e.tar.xz puppet-3b2efd2a4b32478b6c6a71e1421061405a0bb11e.zip | |
We now have a real configuration object, as a subclass of GRATR::Digraph, that has a resource graph including resources for the container objects like classes and nodes. It is apparently functional, but I have not gone through all of the other tests to fix them yet. That is next.
Diffstat (limited to 'lib/puppet/parser/ast/caseopt.rb')
| -rw-r--r-- | lib/puppet/parser/ast/caseopt.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/puppet/parser/ast/caseopt.rb b/lib/puppet/parser/ast/caseopt.rb index 11483d082..d1d9d0e9c 100644 --- a/lib/puppet/parser/ast/caseopt.rb +++ b/lib/puppet/parser/ast/caseopt.rb @@ -56,16 +56,5 @@ class Puppet::Parser::AST def evaluate(hash) return @statements.safeevaluate(hash) end - - def tree(indent = 0) - rettree = [ - @value.tree(indent + 1), - ((@@indline * indent) + self.typewrap(self.pin)), - @statements.tree(indent + 1) - ] - return rettree.flatten.join("\n") - end end end - -# $Id$ |
