| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Old logic did a hard dispatch to respond_to_missing? if respond_to? returned false. This breaks any case where respond_to_missing? has been removed from a class altogether. The change here tries to mimic the CRuby logic, first checking if respond_to? exists and returns true, and if it does not, only call respond_to_missing? if it exists. Fixes jruby#9258
| Back | FazBrowse Home | New Git URL |
Old logic did a hard dispatch to respond_to_missing? if respond_to? returned false. This breaks any case where respond_to_missing? has been removed from a class altogether.
The change here tries to mimic the CRuby logic, first checking if respond_to? exists and returns true, and if it does not, only call respond_to_missing? if it exists.
Fixes #9258