Method: Sc2::Paths.project_root_dir
- Defined in:
- lib/sc2ai/paths.rb
.project_root_dir ⇒ String
Returns project root directory
179 180 181 182 183 |
# File 'lib/sc2ai/paths.rb', line 179 def project_root_dir return Bundler.root.to_s if defined?(Bundler) Dir.pwd end |