Rails
Ruby 2.7.0
6.1
6.0
5.2
5.1
5.0
4.2
2.5.0
2.6.0
3.0
function rb_Integer
[
edit
]
VALUE rb_Integer(VALUE obj)
obj が Ruby の整数でない場合は to_i を使って Integer に変換します。