diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-15 07:19:45 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-15 07:19:45 +0000 |
commit | 2993b4423d0648af7652316505a23a074072a517 (patch) | |
tree | 2fee081c3c1125baf7b12e902708adcbef312e49 /marshal.c | |
parent | 2cfc5b03dac80a92de2dc7a17be4b3cfff92adf7 (diff) | |
download | ruby-2993b4423d0648af7652316505a23a074072a517.tar.gz |
Add `exception:` keyword in Kernel#Float()
Support `exception:` keyword argument in `Kernel#Float()`.
If `exception:` is `false`, `Kernel#Float()` returns `nil` if the given
value cannot be interpreted as a float value.
The default value of `exception:` is `true`.
This is part of [Feature #12732].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
0 files changed, 0 insertions, 0 deletions