# File lib/construct/path_extensions.rb, line 33 def maybe_change_dir(chdir, &block) if(chdir) self.chdir(&block) else block.call end end