Class: Hubeye::Notification::LibCheck

Inherits:
Object
  • Object
show all
Defined in:
lib/hubeye/notification/finder.rb

Class Method Summary collapse

Class Method Details

.autotestObject



30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/hubeye/notification/finder.rb', line 30

def autotest
  begin
    require 'autotest'
  rescue LoadError
    if require 'rubygems'
      retry
    else
      return
    end
  end
  if defined? Autotest
    true
  end
end

.autotest_notificationObject



45
46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/hubeye/notification/finder.rb', line 45

def autotest_notification
  begin
    require 'autotest_notification'
  rescue LoadError
    if require 'rubygems'
      retry
    else
      return
    end
  end
  if defined? Autotest
    true
  end
end