Sha256: 6a566b50194f7460d9ba18aa8ac28a47f777d1374cd180dddc5b8b7b17a41518
Contents?: true
Size: 278 Bytes
Versions: 1
Compression:
Stored size: 278 Bytes
Contents
class Shoes class Sound 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoes-4.0.0.pre1 | lib/shoes/sound.rb |