diff options
author | Hiroshi SHIBATA <[email protected]> | 2024-12-02 10:20:53 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2024-12-02 10:50:34 +0900 |
commit | 9b6036667e494bb44fe1de4abf41ad0091c375be (patch) | |
tree | 53d2a050b6c90d9b592b81c8dcfce60fca759690 | |
parent | 0eca6c305949ab824811f2968bef7a1fad20a787 (diff) |
Removed trailing spaces
-rw-r--r-- | ext/strscan/lib/strscan/strscan.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/strscan/lib/strscan/strscan.rb b/ext/strscan/lib/strscan/strscan.rb index 3581f2e939..46acc7ea82 100644 --- a/ext/strscan/lib/strscan/strscan.rb +++ b/ext/strscan/lib/strscan/strscan.rb @@ -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) |