Sha256: 05c3d1dc42d8254af37669557ead233a00b7b1b86e0d48816b40f8e5a8a97937
Contents?: true
Size: 326 Bytes
Versions: 4
Compression:
Stored size: 326 Bytes
Contents
class Shoes class Sound include Common::Inspect def initialize(parent, filepath, _opts = {}, &_blk) @app = parent @parent = parent @filepath = filepath @gui = Shoes.backend_for(self) end attr_reader :app, :gui, :filepath, :parent def play @gui.play end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
shoes-core-4.0.0.pre8 | lib/shoes/sound.rb |
shoes-core-4.0.0.pre7 | lib/shoes/sound.rb |
shoes-core-4.0.0.pre6 | lib/shoes/sound.rb |
shoes-core-4.0.0.pre5 | lib/shoes/sound.rb |