Sha256: f5b33673b1ab3da6461722057c8faada9a37410de93fabc5965ccc33cffa7df5
Contents?: true
Size: 347 Bytes
Versions: 1
Compression:
Stored size: 347 Bytes
Contents
module TheGamesDB module Image class Format include SAXMachine parent :image value :path attribute :width attribute :height def url image.game.feed.base_image_url + path end def width @width.to_i end def height @height.to_i end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
the_games_db-0.0.1 | lib/the_games_db/image/format.rb |