Class: Rspec::Bash::BashStubScript
- Inherits:
-
Object
- Object
- Rspec::Bash::BashStubScript
- Defined in:
- lib/rspec/bash/wrapper/bash_stub_script.rb
Class Method Summary collapse
Class Method Details
.path ⇒ Object
4 5 6 |
# File 'lib/rspec/bash/wrapper/bash_stub_script.rb', line 4 def self.path File.join(project_root, 'bin', 'bash_stub.sh') end |
.project_root ⇒ Object
8 9 10 11 12 |
# File 'lib/rspec/bash/wrapper/bash_stub_script.rb', line 8 def self.project_root File.( File.join(File.dirname(File.(__FILE__)), '..', '..', '..', '..') ) end |