Sha256: 85f5ec4d9f0f1ed3ff2992437bd76c9bb93653355bdb2d210f935546a90997b8
Contents?: true
Size: 311 Bytes
Versions: 2
Compression:
Stored size: 311 Bytes
Contents
class Shoes class Sound include Common::Inspect def initialize(parent, filepath, _opts = {}, &_blk) @parent = parent @filepath = filepath @gui = Shoes.configuration.backend_for(self) end attr_reader :gui, :filepath, :parent def play @gui.play end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shoes-core-4.0.0.pre4 | lib/shoes/sound.rb |
shoes-core-4.0.0.pre3 | lib/shoes/sound.rb |