lib/libri/book.rb in libri-0.2.5 vs lib/libri/book.rb in libri-0.2.6

- old
+ new

@@ -8,13 +8,11 @@ send "#{key}=", val } @@all << self end - def self.create_from_collection(book_info_array) - book_info_array.map { |book_info_hash| - self.new(book_info_hash) - } + def self.create_from_collection(book_info_hash) + self.new(book_info_hash) end def self.all @@all end