Class: Sauce::Jasmine::Config
- Inherits:
-
Jasmine::Config
- Object
- Jasmine::Config
- Sauce::Jasmine::Config
- Defined in:
- lib/sauce/jasmine/config.rb
Instance Attribute Summary collapse
-
#tunnel_domain ⇒ Object
Returns the value of attribute tunnel_domain.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
- #quiet_tunnel? ⇒ Boolean
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
9 10 11 12 |
# File 'lib/sauce/jasmine/config.rb', line 9 def initialize sauce_connect = true @tunnel_domain = "#{rand(10000)}.jasmine.test" end |
Instance Attribute Details
#tunnel_domain ⇒ Object
Returns the value of attribute tunnel_domain.
7 8 9 |
# File 'lib/sauce/jasmine/config.rb', line 7 def tunnel_domain @tunnel_domain end |
Instance Method Details
#quiet_tunnel? ⇒ Boolean
14 15 16 |
# File 'lib/sauce/jasmine/config.rb', line 14 def quiet_tunnel? ENV['DEBUG'] != "true" end |