Class: Aric::Resource::Track
Instance Method Summary collapse
Methods inherited from Base
all, find_by, #initialize, #method_missing
Constructor Details
This class inherits a constructor from Aric::Resource::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Aric::Resource::Base
Instance Method Details
#play ⇒ Object
30 31 32 |
# File 'lib/aric/resource/track.rb', line 30 def play player.play(persistentID) end |
#to_s ⇒ Object
34 35 36 |
# File 'lib/aric/resource/track.rb', line 34 def to_s '%s / %s / %s / %s' % [name, artist, album, persistentID] end |