Sha256: d56323c48f8cd64e3a712bd545f75d32ca98b21d8eda1c264ce52bbb14be33c9
Contents?: true
Size: 303 Bytes
Versions: 12
Compression:
Stored size: 303 Bytes
Contents
module Druid module Elements class Image < Element def self.finders super + [:alt, :src] end def width element.width end def height element.height end end Druid::Elements.tag_to_class[:img] = Druid::Elements::Image end end
Version data entries
12 entries across 12 versions & 1 rubygems