Sha256: 43ad87b04d2ccf593f631dbc60410ba2c5727b939944ca3d910524768ef5f841
Contents?: true
Size: 371 Bytes
Versions: 1
Compression:
Stored size: 371 Bytes
Contents
module Percheron module Container module Actions module Base private def base_dir container.dockerfile.dirname.to_s end def in_working_directory(new_dir) old_dir = Dir.pwd Dir.chdir(new_dir) yield Dir.chdir(old_dir) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
percheron-0.5.0 | lib/percheron/container/actions/base.rb |