summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-04-23 00:16:27 +0000
committerLuke Kanies <luke@madstop.com>2005-04-23 00:16:27 +0000
commit08d426055b327cfdfe60ade26fe0bde4265a3f70 (patch)
tree9fc32c9473aaf298ef17f5686a58ecd2d919d0ed
parent865dffe9bf0e5d53d727cf4f079ae6f2648a3364 (diff)
downloadpuppet-08d426055b327cfdfe60ade26fe0bde4265a3f70.tar.gz
puppet-08d426055b327cfdfe60ade26fe0bde4265a3f70.tar.xz
puppet-08d426055b327cfdfe60ade26fe0bde4265a3f70.zip
initializing @noop in element.rb
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@220 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r--lib/blink/element.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/blink/element.rb b/lib/blink/element.rb
index 492eb3905..5397548d1 100644
--- a/lib/blink/element.rb
+++ b/lib/blink/element.rb
@@ -30,6 +30,9 @@ class Blink::Element
#---------------------------------------------------------------
# for testing whether we should actually do anything
def noop
+ unless defined? @noop
+ @noop = false
+ end
return @noop || Blink[:noop] || false
end
#---------------------------------------------------------------