Class: Retest::Setup
- Inherits:
-
Object
- Object
- Retest::Setup
- Defined in:
- lib/retest/setup.rb
Instance Method Summary collapse
Instance Method Details
#type ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/retest/setup.rb', line 3 def type @type ||= begin return :ruby unless has_lock_file? if rspec? then :rspec elsif rails? then :rails elsif rake? then :rake else :ruby end end end |