Sha256: e1b84ff9f0f49d3d3f2e3913d15c664db73fd16628196534c8dd8b6dbcb2f065
Contents?: true
Size: 292 Bytes
Versions: 12
Compression:
Stored size: 292 Bytes
Contents
module Percheron module Actions module Base def base_dir unit.dockerfile.dirname.to_s end def in_working_directory(new_dir) old_dir = Dir.pwd Dir.chdir(new_dir) yield ensure Dir.chdir(old_dir) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems