Project

General

Profile

« Previous | Next » 

Revision 2993b442

Added by mrkn (Kenta Murata) about 6 years ago

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