Method: Hub::GitHubAPI::Exceptions.===

Defined in:
lib/hub/github_api.rb

.===(exception) ⇒ Object



38
39
40
# File 'lib/hub/github_api.rb', line 38

def self.===(exception)
  exception.class.ancestors.map {|a| a.to_s }.include? 'Net::HTTPExceptions'
end