Class SoundManager2::Sound
In: lib/sound_manager2.rb
Parent: Object

Internally represents an MP3 URL and identifier passed in to SoundManager. Be careful, as this only represents Javascript that we are generating, and not an actual SoundManager2 runtime sound instance.

Methods

new  

Attributes

id  [R] 
url  [R] 

Public Class methods

[Source]

    # File lib/sound_manager2.rb, line 61
61:     def initialize(id, url)
62:       @id = id
63:       @url = url
64:     end

[Validate]