Class: Spec::Runner::Heckler
- Defined in:
- lib/gems/rspec-1.1.12/lib/spec/runner/heckle_runner.rb
Overview
Supports Heckle 1.2 and prior (earlier versions used Heckle::Base)
Instance Method Summary collapse
-
#initialize(klass_name, method_name, rspec_options) ⇒ Heckler
constructor
A new instance of Heckler.
- #tests_pass? ⇒ Boolean
Constructor Details
#initialize(klass_name, method_name, rspec_options) ⇒ Heckler
Returns a new instance of Heckler.
61 62 63 64 |
# File 'lib/gems/rspec-1.1.12/lib/spec/runner/heckle_runner.rb', line 61 def initialize(klass_name, method_name, ) super(klass_name, method_name) @rspec_options = end |
Instance Method Details
#tests_pass? ⇒ Boolean
66 67 68 69 |
# File 'lib/gems/rspec-1.1.12/lib/spec/runner/heckle_runner.rb', line 66 def tests_pass? success = @rspec_options.run_examples success end |