Method: Library.add

Defined in:
lib/library.rb

.add(location) ⇒ Library

TODO:

Better name for this method?

Like ‘#new`, but adds library to library ledger.

Returns:



97
98
99
100
101
102
103
# File 'lib/library.rb', line 97

def self.add(location)
  $LEDGER.add_location(location)

  #library = new(location)
  #$LEDGER.add_library(library)
  #library
end