class PropertyList::Url

call-seq:

PropertyList::Url.new 'http://foo.com' # with base
PropertyList::Url.new '/foo.com'       # no base

Attributes

url[R]

Public Class Methods

new(url) click to toggle source
# File lib/property-list.rb, line 82
def initialize url
  @url = url
end

Public Instance Methods

==(other) click to toggle source
# File lib/property-list.rb, line 88
def == other
  other.is_a?(Url) and @url == other.url
end