Sha256: 11bea7a8971cd917ddfe1d14ddeee83fa69c6f21c0e64750ad96e59bcaf8314a

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 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

1 entries across 1 versions & 1 rubygems

Version Path
shoes-dsl-4.0.0.pre2 lib/shoes/sound.rb