diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-12-17 15:47:17 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-12-17 15:59:42 +0900 |
| commit | c03fa0e1b3acea696c8715a679915bb58b067403 (patch) | |
| tree | 8aa010f631d83f3bfd03ba94af1e7f574d1dc994 /src/enum.c | |
| parent | ea71f1165bcae2e70b2811fbab270612b7ac5eea (diff) | |
| download | mruby-c03fa0e1b3acea696c8715a679915bb58b067403.tar.gz mruby-c03fa0e1b3acea696c8715a679915bb58b067403.zip | |
Recover `String#to_str`; ref #4177
We have removed implicit conversion to strings using `to_str`. But some
people still using `to_str` as a typical string method, i.e. they do
string check by code like: `obj.respond_to?(:to_str)`. So we have
recovered the method.
Diffstat (limited to 'src/enum.c')
0 files changed, 0 insertions, 0 deletions
