* eval.c (rb_f_send_bang): abandon the name funcall for private

aware method call.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2007-08-24 08:15:37 +00:00
parent ac150ad226
commit 99ab1fed49
8 changed files with 35 additions and 30 deletions

View file

@ -115,7 +115,7 @@
# implementation, see SimpleDelegator.
#
class Delegator
preserved = [:__id__, :object_id, :__send__, :__send, :__send!, :respond_to?, :send, :funcall]
preserved = [:__id__, :object_id, :__send__, :__send, :__send!, :respond_to?, :send, :send!]
instance_methods.each do |m|
next if preserved.include?(m)
undef_method m
@ -262,7 +262,7 @@ def DelegateClass(superclass)
klass = Class.new
methods = superclass.public_instance_methods(true)
methods -= [
:__id__, :object_id, :__send__, :__send, :__send!, :respond_to?, :send, :funcall,
:__id__, :object_id, :__send__, :__send, :__send!, :respond_to?, :send, :send!,
:==, :equal?, :initialize, :method_missing, :__getobj__, :__setobj__,
:clone, :dup, :marshal_dump, :marshal_load,
]