Improve ruby-toggle-block, set pry as default ruby

And some refactoring.