1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
Jonathan Hefner 6061003100 [ruby/delegate] Fix DelegateClass block "method redefined" warning
This commit prevents "method redefined" warnings when overriding methods
within a `DelegateClass` block, such as in the following example:

  ```ruby
  Base = Class.new do
    def foo
      "foo"
    end
  end

  Overridden = DelegateClass(Base) do
    def foo
      super + "!"
    end
  end
  ```

Fixes https://bugs.ruby-lang.org/issues/19047.

https://github.com/ruby/delegate/commit/214fae86de
2022-10-15 00:08:44 +09:00
..
benchmark
bundler [rubygems/rubygems] Fix little UI issue when bundler shows duplicated gems in a list 2022-10-06 05:13:39 +09:00
cgi [ruby/cgi] Implement CGI.url_encode and CGI.url_decode 2022-08-16 19:12:03 +09:00
csv [DOC] Replace the external URIs to docs with rdoc-ref 2022-10-12 13:30:25 +09:00
delegate
did_you_mean [ruby/did_you_mean] Fixed correction duplicates in VariableNameChecker 2022-09-01 19:47:39 +09:00
drb
erb
error_highlight [ruby/error_highlight] Apply ErrorHighlight::CoreExt to TypeError and ArgumentError 2022-08-19 18:34:15 +09:00
forwardable
getoptlong
irb [ruby/irb] Sort constant completion's candidates 2022-10-08 03:17:42 +09:00
logger
mjit Only expose Ruby Shape API if VM_CHECK_MODE is enabled 2022-10-13 13:11:01 -07:00
net Raise ArgumentError with empty host url again. 2022-10-13 12:32:02 +09:00
observer
open3
optparse
ostruct
pstore
racc Update parser-text.rb with 4ecc13c9cb 2022-07-29 19:10:10 +09:00
random
rdoc [ruby/rdoc] Escape search results 2022-10-07 12:12:09 +09:00
reline [ruby/reline] PR changes 2022-09-22 22:28:38 +09:00
rinda
rubygems [rubygems/rubygems] Add notes to make sure we don't forget to backport changes to Bundler 2022-10-01 05:46:41 +09:00
set [ruby/set] Bump version to 1.0.3 2022-09-06 10:41:20 +09:00
singleton
syntax_suggest syntax_suggest moved under the ruby organization from zombocom 2022-09-27 12:44:30 +09:00
timeout [ruby/timeout] gemspec: Drop unused directives "executables" 2022-07-14 16:21:25 +09:00
unicode_normalize
uri [ruby/uri] Fix splitting relative URI 2022-10-13 16:24:53 +09:00
weakref
yaml
abbrev.gemspec
abbrev.rb
base64.gemspec
base64.rb
benchmark.rb
bundler.rb Merge 16c3535413 2022-09-05 14:37:12 +09:00
cgi.rb [ruby/cgi] Bump up 0.3.3 2022-09-22 17:29:55 +09:00
csv.rb
delegate.rb [ruby/delegate] Fix DelegateClass block "method redefined" warning 2022-10-15 00:08:44 +09:00
did_you_mean.rb
drb.rb
English.gemspec
English.rb
erb.gemspec
erb.rb
error_highlight.rb
fileutils.gemspec
fileutils.rb [DOC] Replace the external URIs to docs with rdoc-ref 2022-10-12 12:27:40 +09:00
find.gemspec
find.rb
forwardable.rb [ruby/forwardable] Freeze VERSION and FORWARDABLE_VERSION to improve Ractor-compliance 2022-09-08 14:31:42 +09:00
getoptlong.rb
ipaddr.gemspec
ipaddr.rb [ruby/ipaddr] Improve Ractor-compliance 2022-09-08 14:09:06 +09:00
irb.rb [ruby/irb] Remove unnecessary Thread presence check 2022-10-03 07:00:53 +09:00
logger.rb [DOC] Replace the external URIs to docs with rdoc-ref 2022-10-12 12:27:40 +09:00
mkmf.rb Fallback PKG_CONFIG to the configured pkg-config always 2022-10-02 15:19:14 +09:00
mutex_m.gemspec
mutex_m.rb
observer.rb
open-uri.gemspec [ruby/open-uri] Remove unused files from the packages 2022-10-11 10:44:42 +09:00
open-uri.rb Add :ssl_min_version and :ssl_max_version options 2022-10-12 10:36:51 +09:00
open3.rb
optionparser.rb
optparse.rb [ruby/optparse] Don't treat empty string as an option description 2022-10-08 19:30:34 +09:00
ostruct.rb
pp.gemspec
pp.rb [ruby/pp] [Feature #19045] Add support Data#pretty_print 2022-10-14 21:31:24 +09:00
prettyprint.gemspec
prettyprint.rb
pstore.rb [DOC] Replace the external URIs to docs with rdoc-ref 2022-10-12 12:27:40 +09:00
racc.rb
rdoc.rb
readline.gemspec
readline.rb
reline.rb [ruby/reline] Support dumb terminal 2022-09-01 16:36:16 +09:00
resolv-replace.gemspec
resolv-replace.rb
resolv.gemspec
resolv.rb
ruby2_keywords.gemspec
rubygems.rb Merge rubygems/bundler HEAD. 2022-08-09 12:05:19 +09:00
securerandom.gemspec
securerandom.rb
set.rb [DOC] Replace the external URIs to docs with rdoc-ref 2022-10-12 12:27:40 +09:00
shellwords.gemspec
shellwords.rb
singleton.rb
syntax_suggest.rb Sync SyntaxSuggest 2022-08-19 10:02:24 +09:00
tempfile.gemspec
tempfile.rb [DOC] Replace the external URIs to docs with rdoc-ref 2022-10-12 12:27:40 +09:00
time.gemspec
time.rb fix typo in Time#xmlschema documentation 2022-07-29 19:10:10 +09:00
timeout.rb [ruby/timeout] Explicit add the timeout thread to default ThreadGroup 2022-09-28 01:59:35 +09:00
tmpdir.gemspec
tmpdir.rb
tsort.gemspec
tsort.rb
un.gemspec
un.rb [ruby/un] Support FileUtils.cp_lr 2022-07-14 16:26:47 +09:00
uri.rb
weakref.rb
yaml.rb