mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
88de87c295
There actually are some libraries that requires 'irb' such as byebug, and when 'irb' is required, it requires irb/src_encoding.rb, then it defines the toplevel default_src_encoding method that is visible from anywhere in the end users' apps. Here's a quick oneliner that shows what's happening. % ruby -rpry-byebug -e 'p private_methods(false)' [:include, :using, :define_method, :public, :private, :DelegateClass, :default_src_encoding] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
||
---|---|---|
.. | ||
cmd | ||
ext | ||
lc | ||
completion.rb | ||
context.rb | ||
extend-command.rb | ||
frame.rb | ||
help.rb | ||
init.rb | ||
input-method.rb | ||
inspector.rb | ||
locale.rb | ||
magic-file.rb | ||
notifier.rb | ||
output-method.rb | ||
ruby-lex.rb | ||
ruby-token.rb | ||
slex.rb | ||
src_encoding.rb | ||
version.rb | ||
workspace.rb | ||
ws-for-case-2.rb | ||
xmp.rb |