Class: Gem::Release::Context::Paths::ByNames
- Defined in:
- lib/gem/release/context/paths.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#in_dirs(&block) ⇒ Object
22 23 24 25 26 27 |
# File 'lib/gem/release/context/paths.rb', line 22 def in_dirs(&block) dirs.each do |dir, name| dir.mkdir unless dir == cwd || dir.exist? in_dir(dir) { yield name } end end |