Class: Athenaeum::Music
Overview
Athenaeum::Music
Synopsis
Represents an audio recording from your collection.
Authors
-
Ben Bleything <[email protected]>
Copyright
Copyright © 2007 LAIKA, Inc
Version
$Id: music.rb 285 2007-08-01 21:38:27Z bbleything $
Instance Method Summary collapse
-
#creator ⇒ Object
alias artist to creator.
Methods inherited from Item
create, find_by_type, find_by_uuid, inherited, #initialize, #publish_date, registry, #to_html, type_name, types
Constructor Details
This class inherits a constructor from Athenaeum::Item
Instance Method Details
#creator ⇒ Object
alias artist to creator
23 24 25 26 |
# File 'lib/athenaeum/itemtypes/music.rb', line 23 def creator creator = self.artist rescue nil return creator || 'Unknown Artist' end |