Sha256: aa1bb8ef5df3911bd6bf265669f80cd2c170414b2c753b5d82a8aa730d2badec
Contents?: true
Size: 375 Bytes
Versions: 3
Compression:
Stored size: 375 Bytes
Contents
module Druid module Elements class Canvas < Element # # return the width of the canvas # def width attribute(:width).to_i end # # return the height of the canvas # def height attribute(:height).to_i end end Druid::Elements.type_to_class[:canvas] = Druid::Elements::Canvas end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
druid-ts-1.1.7 | lib/druid/elements/canvas.rb |
druid-ts-1.1.6 | lib/druid/elements/canvas.rb |
druid-ts-1.1.5 | lib/druid/elements/canvas.rb |