Module: HasDirectories

Included in:
Source::PomFileReader, Target::Base
Defined in:
lib/gpm/has_directories.rb

Instance Method Summary collapse

Instance Method Details

#in_directory(directory_identifier) ⇒ Object



2
3
4
5
6
# File 'lib/gpm/has_directories.rb', line 2

def in_directory(directory_identifier)
  ::Dir.chdir(directory_identifier) do
    yield
  end
end