Class: Athenaeum::Book

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

Overview

Athenaeum::Book

Synopsis

Represents a book from your collection.

Authors

Copyright © 2007 LAIKA, Inc

Version

$Id: book.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 author to creator



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

def creator
	creator = self.author rescue nil
	return creator || 'Unknown Author'
end