Object
# File lib/support/outbound_hosts.rb, line 5 5: def self.list 6: uris = Set.new 7: 8: Dir['lib/**/*.rb'].each do |file| 9: content = File.read(file) 10: 11: content.each_line do |line| 12: next if line =~ /homepage_url/ 13: 14: if line =~ /("|')(https:\/\/.*)("|')/ 15: uri = URI.parse($2) 16: uris << [uri.host, uri.port] 17: end 18: end 19: end 20: 21: uris.each do |uri| 22: puts "#{uri.first} #{uri.last}" 23: end 24: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.