Sha256: 6a92f35b3f4c0502b3db23af17d63e3587eeede8b8ee47eb1e5458fc18d7cca0
Contents?: true
Size: 337 Bytes
Versions: 5
Compression:
Stored size: 337 Bytes
Contents
module Druid module Elements class Video < Media def height height = attribute(:height) return height.to_i if height end def width width = attribute(:width) return width.to_i if width end end Druid::Elements.type_to_class[:video] = Druid::Elements::Video end end
Version data entries
5 entries across 5 versions & 1 rubygems