module TimeoutErrors

Constants

VERSION

Public Instance Methods

===(other) click to toggle source
# File lib/timeout_errors.rb, line 11
def ===(other)
  errors.any? { |error| error === other }
end
include_error(error) click to toggle source
# File lib/timeout_errors.rb, line 7
def include_error(error)
  errors << error
end

Private Instance Methods

errors() click to toggle source
# File lib/timeout_errors.rb, line 17
def errors
  @@errors ||= []
end