forked from oracle/truffleruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate foreign objects better with Ruby objects
* By giving foreign objects a proper Ruby class. * Move the logic for all special methods on foreign objects (Implicit polyglot API) to regular Ruby methods of Polyglot::ForeignObject and Polyglot trait modules. * Automatically generate Polyglot::Foreign* classes composing the InteropLibrary traits. * Simplify Polyglot::ForeignObject#respond_to? now that most are defined as Ruby methods. * Fixes oracle#2149 * From oracle#2153 Co-authored-by: Benoit Daloze <benoit.daloze@oracle.com>
- Loading branch information
Showing
21 changed files
with
846 additions
and
976 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.