method
determine_project_root
1.3.1 -
Show latest stable
-
0 notes -
Class: Spec::Runner::Options
- 1.1.4
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
determine_project_root(# :nodoc:)
public
Hide source
# File lib/spec/runner/options.rb, line 106 def determine_project_root # :nodoc: # This is borrowed (slightly modified) from Scott Taylors # project_path project: # http://github.com/smtlaissezfaire/project_path Pathname(File.expand_path('.')).ascend do |path| if File.exists?(File.join(path, "spec")) return path end end end