class Opto::Types::Uri

An uri/url.

Options:

schemes: an array of allowed schemes, such as ['http', 'https', 'file']

Public Instance Methods

uri(value) click to toggle source
# File lib/opto/types/uri.rb, line 30
def uri(value)
  URI.parse(value)
end