Sha256: e22f7f68eebe12240b102e5dd8adfe1eeb487ea9c0cf96e5f3f88508c34951e4

Contents?: true

Size: 215 Bytes

Versions: 2

Compression:

Stored size: 215 Bytes

Contents

# sound.rb

module Ruby2D
  class Sound
    
    attr_accessor :data
    attr_reader :path
    
    def initialize(path)
      # TODO: Check if file exists
      init(path)
      @path = path
    end
    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby2d-0.3.1 lib/ruby2d/sound.rb
ruby2d-0.3.0 lib/ruby2d/sound.rb