mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix missing \A
This commit is contained in:
parent
bef5829482
commit
c8a891d1aa
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue