Class: Notification::LibCheck
- Inherits:
-
Object
- Object
- Notification::LibCheck
- Defined in:
- lib/notification/finder.rb
Class Method Summary collapse
Class Method Details
.autotest ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/notification/finder.rb', line 42 def autotest begin require 'autotest' rescue LoadError if require 'rubygems' retry else return end end if defined? Autotest true end end |
.autotest_notification ⇒ Object
58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/notification/finder.rb', line 58 def autotest_notification begin require 'autotest_notification' rescue LoadError if require 'rubygems' retry else return end end if defined? Autotest true end end |