mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 12:34:21 +00:00
Removed trailing spaces
This commit is contained in:
parent
0eca6c3059
commit
9b6036667e
@ -3,13 +3,13 @@
|
||||
class StringScanner
|
||||
# call-seq:
|
||||
# scan_integer(base: 10)
|
||||
#
|
||||
#
|
||||
# If `base` isn't provided or is `10`, then it is equivalent to calling `#scan` with a `[+-]?\d+` pattern,
|
||||
# and returns an Integer or nil.
|
||||
#
|
||||
# If `base` is `16`, then it is equivalent to calling `#scan` with a `[+-]?(0x)?[0-9a-fA-F]+` pattern,
|
||||
# and returns an Integer or nil.
|
||||
#
|
||||
#
|
||||
# The scanned string must be encoded with an ASCII compatible encoding, otherwise
|
||||
# Encoding::CompatibilityError will be raised.
|
||||
def scan_integer(base: 10)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user