Method: ZergXcode::Paths#project_root_at
- Defined in:
- lib/zerg_xcode/paths.rb
#project_root_at(base_path) ⇒ Object
The most likely project root dir for the given path.
50 51 52 53 |
# File 'lib/zerg_xcode/paths.rb', line 50 def project_root_at(base_path) file = project_file_at base_path File.dirname File.dirname(file) end |