I started to learn Ruby using IRB and wrote the wrong code below:
irb(main):001:0>"amefurashi".delete(aiueo")
I noticed it was missing a double-quote mark, and the prompt changed to:
irb(main):002:1"
I wrote the correct code:
irb(main):001:1"amefurashi".delete("aiueo")
but why won't it work?