Sha256: a34c8a15b46645a0a72c2094713541f95af87097149c6e29d43ed14427bebce1

Contents?: true

Size: 240 Bytes

Versions: 2

Compression:

Stored size: 240 Bytes

Contents

module Druid
  module Elements
    class Image < Element

      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

2 entries across 2 versions & 1 rubygems

Version Path
druid-ts-1.2.4 lib/druid/elements/image.rb
druid-ts-1.2.3 lib/druid/elements/image.rb