lib/is_it_working/handler.rb
def lookup_check(name, options) #:nodoc:
        check_class_name = "#{name.to_s.gsub(/(^|_)([a-z])/){|m| m.sub('_', '').upcase}}Check"
        check = nil
        if IsItWorking.const_defined?(check_class_name)
          check_class = IsItWorking.const_get(check_class_name)
          check = check_class.new(options)
        else
          raise ArgumentError.new("Check not defined #{check_class_name}")
        end
        check
      end
def lookup_check(name, options) #:nodoc:
        check_class_name = "#{name.to_s.gsub(/(^|_)([a-z])/){|m| m.sub('_', '').upcase}}Check"
        check = nil
        if IsItWorking.const_defined?(check_class_name)
          check_class = IsItWorking.const_get(check_class_name)
          check = check_class.new(options)
        else
          raise ArgumentError.new("Check not defined #{check_class_name}")
        end
        check
      end
Lookup a status check filter from the name and arguments