# File lib/travis/cli/setup.rb, line 38 def self.service(name) normal_name = Service.normalized_name(name) const_name = constants(false).detect { |c| Service.normalized_name(c) == normal_name } constant = const_get(const_name) if const_name constant if constant and constant < Service and constant.known_as? name end