Class Alexandria::Library
In: lib/alexandria/export_library.rb
lib/alexandria/ui/main_app.rb
lib/alexandria/import_library.rb
lib/alexandria/library.rb
Parent: Object

Methods

Included Modules

Exportable Logging GetText Observable

Classes and Modules

Class Alexandria::Library::InvalidISBNError
Class Alexandria::Library::NoISBNError

Constants

DIR = File.join(ENV['HOME'], '.alexandria')
EXT = { :book => '.yaml', :cover => '.cover' }
BOOK_REMOVED = (0..3).to_a
FIX_BIGNUM_REGEX = /loaned_since:\s*(\!ruby\/object\:Bignum\s*)?(\d+)\n/
AMERICAN_UPC_LOOKUP = { "014794" => "08041", "018926" => "0445", "02778" => "0449", "037145" => "0812", "042799" => "0785", "043144" => "0688", "044903" => "0312", "045863" => "0517", "046594" => "0064", "047132" => "0152", "051487" => "08167", "051488" => "0140", "060771" => "0002", "065373" => "0373", "070992" => "0523", "070993" => "0446", "070999" => "0345", "071001" => "0380", "071009" => "0440", "071125" => "088677", "071136" => "0451", "071149" => "0451", "071152" => "0515", "071162" => "0451", "071268" => "08217", "071831" => "0425", "071842" => "08439", "072742" => "0441", "076714" => "0671", "076783" => "0553", "076814" => "0449", "078021" => "0872", "079808" => "0394", "090129" => "0679", "099455" => "0061", "099769" => "0451"

External Aliases

delete -> old_delete
select -> old_select

Attributes

name  [R] 
ruined_books  [RW] 

Public Class methods

Public Instance methods

[Validate]