diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-05-10 12:21:25 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-05-10 12:21:43 +0900 |
commit | c8a891d1aa2fd54172d313441811aef2838b7797 (patch) | |
tree | cf017ed6d70aad4d9284916fcacb694e0375601e /lib/delegate.rb | |
parent | bef5829482ab410111911f2472442ff0dfbd3838 (diff) | |
download | ruby-c8a891d1aa2fd54172d313441811aef2838b7797.tar.gz |
Fix missing `\A`
Diffstat (limited to 'lib/delegate.rb')
-rw-r--r-- | lib/delegate.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/delegate.rb b/lib/delegate.rb index 37819a28f4..85c1eb4e4e 100644 --- a/lib/delegate.rb +++ b/lib/delegate.rb @@ -44,7 +44,7 @@ class Delegator < BasicObject undef_method m end private_instance_methods.each do |m| - if /\Ablock_given\?\z|iterator\?\z|\A__.*__\z/ =~ m + if /\Ablock_given\?\z|\Aiterator\?\z|\A__.*__\z/ =~ m next end undef_method m |