I was watching the video under bug hunting. So I followed the steps and used the command ls String to show String methods. I got the Interrupt messages which are not present in the video, and I cannot quit the process using Ctrl + D. Why did I get these messages, and what should I do to quit the process? Thank you!
~/Dropbox/AA_prep/mastermind$ pry
[1] pry(main)> ls String
String.methods: try_convert
String#methods:
% chop! gsub rjust swapcase
-
chr gsub! rpartition swapcase!
-
clear hash rstrip to_c
+@ codepoints hex rstrip! to_f
-@ concat include? scan to_i
<< count index scrub to_r
<=> crypt insert scrub! to_s
== delete inspect setbyte to_str
=== delete! intern shell_split to_sym
=~ downcase length shellescape tr
[] downcase! lines shellsplit tr!
[]= dump ljust size tr_s
ascii_only? each_byte lstrip slice tr_s!
b each_char lstrip! slice! unicode_normalize
bytes each_codepoint match split unicode_normalize!
bytesize each_line next squeeze unicode_normalized?
byteslice empty? next! squeeze! unpack
capitalize encode oct start_with? upcase
capitalize! encode! ord strip upcase!
casecmp encoding partition strip! upto
center end_with? prepend sub valid_encoding?
chars eql? replace sub!
chomp force_encoding reverse succ
chomp! freeze reverse! succ!
chop getbyte rindex sum
(END)Interrupt:
from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/pager.rb:179:in close' from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/pager.rb:179:in
close’
from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/pager.rb:36:in open' from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/pager.rb:24:in
page’
from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls.rb:90:in process' from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/command.rb:606:in
call’
from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/command.rb:480:in call_with_hooks' from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/command.rb:431:in
block in call_safely’
from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/command.rb:439:in use_unpatched_symbol' from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/command.rb:430:in
call_safely’
from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/command.rb:372:in process_line' from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/command_set.rb:400:in
process_line’
from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/pry_instance.rb:405:in process_command' from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/pry_instance.rb:437:in
process_command_safely’
from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/pry_instance.rb:272:in handle_line' from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/pry_instance.rb:243:in
block (2 levels) in eval’
from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/pry_instance.rb:242:in catch' from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/pry_instance.rb:242:in
block in eval’
from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/pry_instance.rb:241:in catch' from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/pry_instance.rb:241:in
eval’
from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.String.methods: try_convert
String#methods:
% chop! gsub rjust swapcase
-
chr gsub! rpartition swapcase!
String.methods: try_convert
String#methods:
% chop! gsub rjust swapcase
-
chr gsub! rpartition swapcase!
11.3/lib/pry/repl.rb:77:in block in repl' from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/repl.rb:67:in
loop’
from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/repl.rb:67:in repl' from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/repl.rb:38:in
block in start’
from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/input_lock.rb:61:in __with_ownership' from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/input_lock.rb:79:in
with_ownership’
from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/repl.rb:38:in start' from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/repl.rb:13:in
start’
from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/pry_class.rb:192:in start' from: /Users/sheny/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pry-0.11.3/lib/pry/cli.rb:116:in
start’