Class: Rspec::Bash::BashStubScript

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/bash/wrapper/bash_stub_script.rb

Class Method Summary collapse

Class Method Details

.pathObject



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_rootObject



8
9
10
11
12
# File 'lib/rspec/bash/wrapper/bash_stub_script.rb', line 8

def self.project_root
  File.expand_path(
    File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', '..', '..')
  )
end