Method: Object#__funcall
- Defined in:
- lib/langhelp/langhelp-sub.rb
#__funcall(meth, *args, &block) ⇒ Object
Call a method even if it is private.
947 948 949 950 |
# File 'lib/langhelp/langhelp-sub.rb', line 947 def __funcall(meth, *args, &block) m = method(meth) instance_eval { m.call(*args, &block) } end |