Class: RestyTest::Paths

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/resty_test/paths.rb

Instance Method Summary collapse

Instance Method Details

#nginx_binObject



16
17
18
# File 'lib/resty_test/paths.rb', line 16

def nginx_bin
  File.join(root, "nginx", "sbin", "nginx")
end

#rootObject



4
5
6
# File 'lib/resty_test/paths.rb', line 4

def root
  RestyTest.config.root
end

#srcObject



12
13
14
# File 'lib/resty_test/paths.rb', line 12

def src
  File.join(root, "src")
end

#tarObject



8
9
10
# File 'lib/resty_test/paths.rb', line 8

def tar
  File.join(root, File.basename(RestyTest.config.source))
end