lib/libri/book.rb in libri-0.2.2 vs lib/libri/book.rb in libri-0.2.3
- old
+ new
@@ -13,19 +13,11 @@
def self.create_from_collection(book_info_array)
book_info_array.each { |book_info_hash|
self.new(book_info_hash)
}
end
-
- def add_book_info(book_info_hash)
- book_info_hash.each { |key, val|
- send "#{key}=", val
- }
- self
- end
- def self.all
+ def self.all
@@all
- end
-
+ end
end