module Ortega::URI

Public Instance Methods

url_helper(url) click to toggle source
# File lib/ortega/uri.rb, line 3
def url_helper(url)
  url.insert(0, 'http://') unless url.match(/http/) 
  return URI url
end