Class: Athenaeum::Music

Inherits:
Item
  • Object
show all
Defined in:
lib/athenaeum/itemtypes/music.rb

Overview

Athenaeum::Music

Synopsis

Represents an audio recording from your collection.

Authors

Copyright © 2007 LAIKA, Inc

Version

$Id: music.rb 285 2007-08-01 21:38:27Z bbleything $

Instance Method Summary collapse

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

#creatorObject

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