Sha256: 6b70ba588c7324292dafba32222778e96448c5d960d9f5f8e0b3e250103e2bd4

Contents?: true

Size: 291 Bytes

Versions: 5

Compression:

Stored size: 291 Bytes

Contents

module Microformats2
  module ImpliedProperty
    class Url < Foundation

      def method_name
        "url"
      end

      protected

      def name_map
        { "a" => "href" }
      end

      def selector_map
        { ">a[href]:only-of-type" => "href" }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
microformats2-2.0.0.pre5 lib/microformats2/implied_property/url.rb
microformats2-2.0.0.pre4 lib/microformats2/implied_property/url.rb
microformats2-2.0.0.pre3 lib/microformats2/implied_property/url.rb
microformats2-2.0.0.pre2 lib/microformats2/implied_property/url.rb
microformats2-2.0.0.pre1 lib/microformats2/implied_property/url.rb