Actions
Feature #15211
closedInteger.try_convert
Status:
Closed
Assignee:
-
Target version:
-
Description
I found Integer
doesn't have try_convert
method, which converts the argument by to_int
method without explicit conversions like Integer()
.
This is useful to treat an Integer
-like argument like as methods written in C.
https://github.com/nobu/ruby/tree/feature/Integer.try_convert
Actions
Like0
Like0Like0Like0