Sha256: 24d475b6f422231771f3a4b59ae9c7076e2cc708571d6b064f5c8babb6f6334f
Contents?: true
Size: 539 Bytes
Versions: 2
Compression:
Stored size: 539 Bytes
Contents
module Microformats2 module Property class Url < Foundation def to_s @to_s = Microformats2::AbsoluteUri.new(@base, super.to_s).absolutize end protected def attr_map @attr_map = { "a" => "href", "area" => "href", "audio" => "src", "img" => "src", "object" => "data", "source" => "src", "video" => "src", "abbr" => "title", "data" => "value", "input" => "value" } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
microformats2-2.9.0 | lib/microformats2/property/url.rb |
microformats2-2.1.0 | lib/microformats2/property/url.rb |