lib/libri/cli.rb in libri-0.2.6 vs lib/libri/cli.rb in libri-0.2.7

- old
+ new

@@ -71,19 +71,19 @@ puts LINE puts "#{info.url}" puts if !info.excerpt.nil? - puts "An excerpt of this book is available. Would you like to read it? (Yn)" + puts "An excerpt of this book is available. Would you like to read it? (Yn)".blue input = STDIN.gets.strip.downcase if input == "y" puts puts "Excerpt".upcase.red puts LINE puts "#{info.excerpt.slice(1..1000)}..." puts else - menu_books(award) + nil end end end def random_quote \ No newline at end of file