diff options
| author | Burdette Lamar <BurdetteLamar@Yahoo.com> | 2025-11-12 04:13:29 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-12 05:13:29 -0500 |
| commit | 14e75435ea16601a800616835c8f89b320192e5c (patch) | |
| tree | 18a0f9f46abf085377ce255d08678fec7b703ed2 /doc | |
| parent | 0ca3eed109c42711ac66d65637724045c280def3 (diff) | |
[DOC] Tweaks for String#to_r
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/string.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/string.rb b/doc/string.rb index b3d5886b8d..4304b96aee 100644 --- a/doc/string.rb +++ b/doc/string.rb @@ -402,6 +402,7 @@ # - #to_c: Returns the complex value of leading characters, interpreted as a complex number. # - #to_i: Returns the integer value of leading characters, interpreted as an integer. # - #to_f: Returns the floating-point value of leading characters, interpreted as a floating-point number. +# - #to_r: Returns the rational value of leading characters, interpreted as a rational. # # <em>Strings and Symbols</em> # |
