Skip to content
Browse files
[Truffle] Document DispatchHeadNode#doesRespondTo.
  • Loading branch information
eregon committed Jan 2, 2015
1 parent fb9199f commit 199afcc
Showing 1 changed file with 6 additions and 0 deletions.
@@ -136,6 +136,12 @@ public long callLongFixnum(

* Check if a specific method is defined on the receiver object.
* This check is "static" and should only be used in a few VM operations.
* In many cases, a dynamic call to Ruby's respond_to? should be used instead.
* Similar to MRI rb_check_funcall().
public boolean doesRespondTo(
VirtualFrame frame,
Object methodName,

0 comments on commit 199afcc

Please sign in to comment.