ruby/lib/irb
Stan Lo 5d78ec8a94 [ruby/irb] Decouple edit and show_source commands
(https://github.com/ruby/irb/pull/658)

* Decouple `edit` command from `show_source`

2 commands should not depend on each other. If `edit` command also needs
to find a source, the source finding logic should be extracted into a
separate class.

* Return nil if is not an actual file path

* Refactor SourceFinder

9790517a0c
2023-07-31 19:57:36 +00:00
..
cmd [ruby/irb] Decouple edit and show_source commands 2023-07-31 19:57:36 +00:00
ext [ruby/irb] Refactor eval history 2023-07-04 15:17:41 +00:00
lc [ruby/irb] Remove encoding_aliases.rb 2023-04-26 15:06:05 +00:00
.document
color.rb [ruby/irb] Drop Ruby 2.6 support 2023-04-05 21:40:40 +00:00
color_printer.rb [ruby/irb] Replace METHOD_IS_A with === 2023-03-13 18:11:58 +00:00
completion.rb [ruby/irb] Use symbol.inspect instead of ":"+symbol.id2name to avoid 2023-06-13 10:46:38 +00:00
context.rb [ruby/irb] Fix history-saving feature 2023-07-14 15:45:09 +00:00
easter-egg.rb Revert "Prefer #send over #__send__ when it is clear there is no possible conflict" 2020-11-05 20:54:34 +09:00
extend-command.rb [ruby/irb] Refactor eval history 2023-07-04 15:17:41 +00:00
frame.rb [ruby/irb] Formatting to header styles 2023-01-11 22:29:10 +00:00
help.rb [ruby/irb] Retire magic-file.rb 2023-04-28 17:20:20 +00:00
history.rb [ruby/irb] Fix history-saving feature 2023-07-14 15:45:09 +00:00
init.rb [ruby/irb] Remove unused Struct 2023-02-25 16:50:33 +00:00
input-method.rb [ruby/irb] Fix history-saving feature 2023-07-14 15:45:09 +00:00
inspector.rb [ruby/irb] Drop Ruby 2.6 support 2023-04-05 21:40:40 +00:00
irb.gemspec [ruby/irb] Declare rdoc as dependency 2023-07-18 13:53:31 +00:00
locale.rb [ruby/irb] Simplify Locale#load 2023-04-27 15:42:21 +00:00
nesting_parser.rb [ruby/irb] Rewrite RubyLex to fix some bugs and make it possible to 2023-06-15 15:39:58 +00:00
notifier.rb [ruby/irb] Formatting to header styles 2023-01-11 22:29:10 +00:00
output-method.rb [ruby/irb] Formatting to header styles 2023-01-11 22:29:10 +00:00
pager.rb [ruby/irb] Page ls's output (https://github.com/ruby/irb/pull/657) 2023-07-26 08:32:02 +00:00
ruby-lex.rb [ruby/irb] Indent multiline percent literals 2023-07-15 18:12:05 +00:00
ruby_logo.aa [ruby/irb] Discard newlines at end of file 2020-08-28 11:05:18 +09:00
source_finder.rb [ruby/irb] Decouple edit and show_source commands 2023-07-31 19:57:36 +00:00
src_encoding.rb
version.rb [ruby/irb] Bump 1.7.4 (https://github.com/ruby/irb/pull/645) 2023-07-15 15:59:18 +00:00
workspace.rb [ruby/irb] Add a comment about Rails' patch on 2023-02-27 15:23:31 +00:00
ws-for-case-2.rb [ruby/irb] Formatting to header styles 2023-01-11 22:29:10 +00:00
xmp.rb [ruby/irb] Formatting to header styles 2023-01-11 22:29:10 +00:00