Class: Rspec::Bash::RubyStubScript

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

Class Method Summary collapse

Class Method Details

.pathObject



4
5
6
# File 'lib/rspec/bash/wrapper/ruby_stub_script.rb', line 4

def self.path
  File.join(project_root, 'bin', 'ruby_stub.rb')
end

.project_rootObject



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

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