Kyrylo Silin
Kyrylo Silin
``` [3] pry(main)> Etc::Group.instance_method(:name=).source NoMethodError: undefined method `-' for nil:NilClass from /home/kyrylo/.gem/ruby/2.2.2/gems/method_source-0.8.2/lib/method_source/code_helpers.rb:28:in `expression_at' ```
Fixes #2185 (Non-Visible Characters Printed with Page) The `--raw-control-chars` option (aka `-r`) does the following: ``` Causes "raw" control characters to be displayed. The default is to display control characters...
I spoke to Matz at Euruko 2019 a couple days ago and he mentioned that Ruby 2.7 will ship improved IRB support. Specifically, multiline input. It looks like this is...
IRB has this feature where upon defining a new string, it changes the separator character in the prompt: ``` irb(main):007:0> " irb(main):008:0" asd irb(main):009:0" " => "\nasd\n" irb(main):010:0> %q( irb(main):014:0'...
Pry should help users in entering correct input. There are many methods that help achieving that, which are too advanced for our current APIs, but there's one that would be...
Ruby 2.0 has new methods like `prepend` and `refine`. The `ls` command cannot list them properly. ``` [1] pry(main)> ls Module Module.methods: constants nesting Module#methods: < class_name included_modules private_constant const_defined?...
https://blog.saeloun.com/2019/09/17/ruby-2-7-module-const-source-location.html https://github.com/ruby/ruby/commit/93843830198ba436e2ea21a60a11758d47cf521b In one way or another we want to support this new feature.
It's no secret Pry has failed to set realistic constraints for v1.0.0. We have a lot of ambitious issues in our tracker, but there's no traction there. A lot of...
The idea is identical to `SHLVL` from Bash: ``` $ echo $SHLVL 1 $ bash $ echo $SHLVL 2 ``` This may be useful in prompt or in a condition...
It would be rather convenient to be able to scaffold directories and files for a typical Pry plugin. It will allow people quickly test their ideas. I believe to make...