Sha256: 735d98e670d947d7ee2313e4f921c0faf4fe9260e83a8adc8efc3265815b34cc
Contents?: true
Size: 357 Bytes
Versions: 1
Compression:
Stored size: 357 Bytes
Contents
# frozen_string_literal: true 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoes-core-4.0.0.rc1 | lib/shoes/sound.rb |