# File lib/chef/solr/solr_installer.rb, line 339 def chdir(dir, &block) say "entering #{dir}" if config.noop? yield if block_given? # still call the block so we get the noop output. else Dir.chdir(dir) { yield if block_given? } end end