Class: RestyTest::Paths
- Inherits:
-
Object
- Object
- RestyTest::Paths
- Includes:
- Singleton
- Defined in:
- lib/resty_test/paths.rb
Instance Method Summary collapse
Instance Method Details
#nginx_bin ⇒ Object
16 17 18 |
# File 'lib/resty_test/paths.rb', line 16 def nginx_bin File.join(root, "nginx", "sbin", "nginx") end |
#root ⇒ Object
4 5 6 |
# File 'lib/resty_test/paths.rb', line 4 def root RestyTest.config.root end |
#src ⇒ Object
12 13 14 |
# File 'lib/resty_test/paths.rb', line 12 def src File.join(root, "src") end |
#tar ⇒ Object
8 9 10 |
# File 'lib/resty_test/paths.rb', line 8 def tar File.join(root, File.basename(RestyTest.config.source)) end |