Class | MPD::Song |
In: |
lib/librmpd.rb
|
Parent: | Hash |
This class is a glorified Hash used to represent a song You can access the various fields of a song (such as title) by either the normal hash method (song['title']) or by using the field as a method name (song.title). If the field doesn't exist or isn't set, nil will be returned