Class: Jasmine::FocusedSuite
- Inherits:
-
Object
- Object
- Jasmine::FocusedSuite
- Defined in:
- lib/jasmine/server.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(config) ⇒ FocusedSuite
constructor
A new instance of FocusedSuite.
Constructor Details
#initialize(config) ⇒ FocusedSuite
Returns a new instance of FocusedSuite.
91 92 93 |
# File 'lib/jasmine/server.rb', line 91 def initialize(config) @config = config end |
Instance Method Details
#call(env) ⇒ Object
95 96 97 98 |
# File 'lib/jasmine/server.rb', line 95 def call(env) run_adapter = Jasmine::RunAdapter.new(@config) run_adapter.run(env["PATH_INFO"]) end |