aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/debrew.rb
diff options
context:
space:
mode:
authorXu Cheng2015-08-06 15:45:52 +0800
committerXu Cheng2015-08-06 17:23:56 +0800
commitb121e5fd7be1b1984e51caa6a369dd8faf70a57a (patch)
tree7bf8eb9f259479e8c445e2d991bec251a2cc5324 /Library/Homebrew/debrew.rb
parent3f8ce5f1a95307a2a836afbbf51565d890ff676f (diff)
downloadbrew-b121e5fd7be1b1984e51caa6a369dd8faf70a57a.tar.bz2
more core file style updated by rubocop
Diffstat (limited to 'Library/Homebrew/debrew.rb')
-rw-r--r--Library/Homebrew/debrew.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/debrew.rb b/Library/Homebrew/debrew.rb
index 3f21094be..7b1b50735 100644
--- a/Library/Homebrew/debrew.rb
+++ b/Library/Homebrew/debrew.rb
@@ -53,7 +53,7 @@ module Debrew
menu.entries.each_with_index { |e, i| puts "#{i+1}. #{e.name}" }
print menu.prompt unless menu.prompt.nil?
- input = $stdin.gets or exit
+ input = $stdin.gets || exit
input.chomp!
i = input.to_i