Sha256: fbba0e5091c1ed1aac03a73c99332a4ad4fbd31b823ed66f1cb31b1df6d6b22e
Contents?: true
Size: 340 Bytes
Versions: 1
Compression:
Stored size: 340 Bytes
Contents
module TheGamesDB module Image class Banner include SAXMachine parent :game value :path attribute :width attribute :height def url 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/banner.rb |