diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-03 05:51:18 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-03 05:51:18 +0000 |
commit | bace0d4cdcfaec75e76145349f0b3c0b989a0b6d (patch) | |
tree | fa6e6c9d732f88b933be2e1f4175530b82377ce9 /object.c | |
parent | 55cb93efc539cbc71de486aaba300457cf21e9b5 (diff) |
[DOC] Add `or nil` to call-seq [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3221,7 +3221,7 @@ opts_exception_p(VALUE opts) /* * call-seq: - * Integer(arg, base=0, exception: true) -> integer + * Integer(arg, base=0, exception: true) -> integer or nil * * Converts <i>arg</i> to an <code>Integer</code>. * Numeric types are converted directly (with floating point numbers @@ -3583,7 +3583,7 @@ rb_Float(VALUE val) /* * call-seq: - * Float(arg, exception: true) -> float + * Float(arg, exception: true) -> float or nil * * Returns <i>arg</i> converted to a float. Numeric types are converted * directly, and with exception to string and nil the rest are converted using <i>arg</i>.to_f. |