David Mitchell wrote:
> How about this for an explanation:
>
> $ irb
>  > def quit
>  > puts 'No way'
>  > end
> => nil
>  > quit
>
> Quits IRB. (So does calling quit())

If you make it def self.quit, it'll work.