Method: MarathonDeploy::HttpUtil.valid_url
- Defined in:
- lib/marathon_deploy/http_util.rb
.valid_url(url) ⇒ Object
67 68 69 70 71 72 |
# File 'lib/marathon_deploy/http_util.rb', line 67 def self.valid_url(url) if (url =~ /\A#{URI::regexp}\z/) return true end return false end |