class URI::Generic

Public Instance Methods

starts_with?(prefix) click to toggle source
# File lib/driller/uri_helper.rb, line 3
def starts_with?(prefix)
  prefix = prefix.to_s
  self.to_s[0, prefix.length] == prefix
end