Class: Bateman::UrlAttribute
- Inherits:
-
SiteAttribute
- Object
- MetaAttribute
- SiteAttribute
- Bateman::UrlAttribute
- Defined in:
- lib/bateman/url_attribute.rb
Instance Method Summary collapse
-
#initialize(html, uri = nil) ⇒ UrlAttribute
constructor
A new instance of UrlAttribute.
Methods inherited from MetaAttribute
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 |