mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
![]() When you pass `nil` to `BaseHelpers#find_command` and a command in `set` doesn't have the `:listing` option (for example, when your command is a regular Ruby class), `#find_command` will return that command (even if it doesn't match at all). command.options[:listing] #=> nil name = nil command.options[:listing] == name #=> true Add tests to "code_object_spec.rb", because that's how I found this shortage and it seems to be a natural test. Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com> |
||
---|---|---|
.. | ||
base_helpers.rb | ||
command_helpers.rb | ||
documentation_helpers.rb | ||
options_helpers.rb | ||
text.rb |