Class: Athenaeum::Movie

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

Overview

Athenaeum::Movie

Synopsis

Represents a movie from your collection.

Authors

Copyright © 2007 LAIKA, Inc

Version

$Id: movie.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, registry, #to_html, type_name, types

Constructor Details

This class inherits a constructor from Athenaeum::Item

Instance Method Details

#creatorObject

alias director (or, failing that, publisher) to creator



23
24
25
26
# File 'lib/athenaeum/itemtypes/movie.rb', line 23

def creator
  creator = self.director rescue nil
  return creator || 'Unknown Director'
end