Sha256: e65d06a0271ec43d1b2ad531d44795d2048e408805ba0e0c896aed463051a2ab
Contents?: true
Size: 313 Bytes
Versions: 3
Compression:
Stored size: 313 Bytes
Contents
module Druid module Elements class Link < Element protected def self.finders super + [:href, :text] end def self.mapping super.merge({:link => :text, :link_text => :text}) end end Druid::Elements.tag_to_class[:a] = Druid::Elements::Link end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
druid-ts-1.1.2 | lib/druid/elements/link.rb |
druid-ts-1.1.1 | lib/druid/elements/link.rb |
druid-ts-1.1.0 | lib/druid/elements/link.rb |