diff options
Diffstat (limited to 'lib/puppet/parser/ast.rb')
-rw-r--r-- | lib/puppet/parser/ast.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/puppet/parser/ast.rb b/lib/puppet/parser/ast.rb index 5a8f7be41..f407c78d6 100644 --- a/lib/puppet/parser/ast.rb +++ b/lib/puppet/parser/ast.rb @@ -26,15 +26,15 @@ class Puppet::Parser::AST # allow our subclass to specify they want documentation class << self - attr_accessor :use_docs - def associates_doc - self.use_docs = true - end + attr_accessor :use_docs + def associates_doc + self.use_docs = true + end end # Does this ast object set something? If so, it gets evaluated first. def self.settor? - if defined? @settor + if defined?(@settor) @settor else false |