lib/libri/cli.rb in libri-0.2.3 vs lib/libri/cli.rb in libri-0.2.4
- old
+ new
@@ -98,10 +98,10 @@
end
def menu_awards
input = STDIN.gets.strip.downcase
- if input.to_i.between?(1,15)
+ if input.to_i.between?(1,28)
award = @awards_array[input.to_i - 1]
Libri::Books.all.clear
make_books(award)
list_books(award)
elsif input == "awards"
\ No newline at end of file