pry--pry/lib/pry/commands
Takashi Kokubun 272b3290b5 Fix Ruby 2.6 warning for Binding#source_location
eval('[__FILE__, __LINE__]') will not work in future Ruby.
Let's stop using it when Binding#source_location is available because it
prints noisy warnings.

Since Binding#source_location is added in Ruby 2.6
https://github.com/ruby/ruby/commit/571e48b7442, this commit is leaving
old code with branching by binding.respond_to?(:source_location).

Fixes #1871
2018-12-11 11:10:55 +09:00
..
cat
edit Fix Ruby 2.6 warning for Binding#source_location 2018-12-11 11:10:55 +09:00
ls rubocop: fix ofences of the Style/BlockDelimiters cop 2018-11-18 00:37:47 +08:00
watch_expression
amend_line.rb
bang.rb
bang_pry.rb
cat.rb rubocop: fix ofences of the Style/BlockDelimiters cop 2018-11-18 00:37:47 +08:00
cd.rb
change_inspector.rb
change_prompt.rb Simplify Prompt API 2018-11-17 05:26:25 +08:00
clear_screen.rb
code_collector.rb rubocop: fix offences of the Style/AndOr cop 2018-11-18 00:22:56 +08:00
disable_pry.rb
disabled_commands.rb
easter_eggs.rb
edit.rb rubocop: fix offences regarding spaces 2018-11-04 17:34:24 +08:00
exit.rb
exit_all.rb
exit_program.rb
find_method.rb rubocop: fix offences regarding spaces 2018-11-04 17:34:24 +08:00
fix_indent.rb
gem_cd.rb
gem_install.rb
gem_list.rb
gem_open.rb
gem_readme.rb
gem_search.rb rubocop: fix offences regarding spaces 2018-11-04 17:34:24 +08:00
gem_stats.rb update from_hash calls to not pass an explicit 'nil' as a second argument. 2018-11-20 10:48:22 +01:00
gist.rb
help.rb rubocop: fix offences regarding spaces 2018-11-04 17:34:24 +08:00
hist.rb
import_set.rb
install_command.rb
jump_to.rb
list_inspectors.rb
ls.rb
nesting.rb
play.rb Fix Ruby 2.6 warning for Binding#source_location 2018-12-11 11:10:55 +09:00
pry_backtrace.rb
pry_version.rb
raise_up.rb
reload_code.rb Fix Ruby 2.6 warning for Binding#source_location 2018-12-11 11:10:55 +09:00
reset.rb
ri.rb
save_file.rb
shell_command.rb
shell_mode.rb Simplify Prompt API 2018-11-17 05:26:25 +08:00
show_doc.rb
show_info.rb rubocop: fix offences of the Lint/UnusedBlockArgument cop 2018-11-11 20:22:03 +08:00
show_input.rb
show_source.rb
stat.rb
switch_to.rb
toggle_color.rb
watch_expression.rb rubocop: fix offences regarding spaces 2018-11-04 17:34:24 +08:00
whereami.rb Fix Ruby 2.6 warning for Binding#source_location 2018-12-11 11:10:55 +09:00
wtf.rb command: delete deprecated #text 2018-11-08 14:57:07 +08:00