Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

Commit 3f324ed

Browse files
committed
removed redundant comments
1 parent 2867244 commit 3f324ed

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

movie_search/movie.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ def movie
1313
# This is a live API key, don't absue it
1414
api_key = '946f500a'
1515

16-
# Captures user input
1716
puts ''
1817
print 'Movie => '
1918
movie_name = gets.chomp
@@ -23,7 +22,6 @@ def movie
2322
puts ''
2423
exit(0)
2524
else
26-
# API fetch for movie
2725
url = "http://www.omdbapi.com/?t=#{movie_name}&apikey=#{api_key}"
2826
response = RestClient.get(url)
2927
info = JSON.parse(response)
@@ -53,7 +51,6 @@ def movie
5351
plot_unformatted = info['Plot']
5452
plot = wrap(plot_unformatted, 48)
5553

56-
# Format for printing to screen
5754
puts ''
5855
puts '=================================================='
5956
puts "| Title: #{title}"

0 commit comments

Comments
 (0)