Class: TddiumReporting::SpecRunner

Inherits:
Object
  • Object
show all
Defined in:
lib/tddium_reporting/spec_runner.rb

Class Method Summary collapse

Class Method Details

.runnerObject



3
4
5
6
7
8
9
# File 'lib/tddium_reporting/spec_runner.rb', line 3

def self.runner
  if defined?(RSpec)
    RSpec
  elsif defined?(Spec::Runner)
    Spec::Runner
  end
end