Skip to content

Commit

Permalink
Removed trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Dec 2, 2024
1 parent dddae9c commit ce53e39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/strscan/strscan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ce53e39

Please sign in to comment.