Class: Bateman::UrlAttribute

Inherits:
SiteAttribute show all
Defined in:
lib/bateman/url_attribute.rb

Instance Method Summary collapse

Methods inherited from MetaAttribute

#to_s

Constructor Details

#initialize(html, uri = nil) ⇒ UrlAttribute

Returns a new instance of UrlAttribute.



3
4
5
6
7
# File 'lib/bateman/url_attribute.rb', line 3

def initialize(html, uri = nil)
  @uri = uri.to_s

  super(html)
end