diff options
| author | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-06-24 10:58:13 +0900 |
|---|---|---|
| committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-06-29 11:05:41 +0900 |
| commit | 801752f577712b1eb81de224743865fce8f21adf (patch) | |
| tree | 6b76bfec4fe7cc5fdc6145e1f199dad16abf1b94 /spec/ruby/shared/basicobject/method_missing.rb | |
| parent | 2071c61e4216b5de347b327acd60fa1b4affeec2 (diff) | |
builtin_class_name: add variant that return VALUE
Found that `if (builtin_class_name) { printf } else { printf }` happens
twice. It would be better if we could eliminate those if statements.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3247
Diffstat (limited to 'spec/ruby/shared/basicobject/method_missing.rb')
0 files changed, 0 insertions, 0 deletions
