Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 18.191.53.120
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby34 /
share /
ruby /
strscan /
Delete
Unzip
Name
Size
Permission
Date
Action
strscan.rb
759
B
-rw-r--r--
2025-03-20 13:38
Save
Rename
# frozen_string_literal: true 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) case base when 10 scan_base10_integer when 16 scan_base16_integer else raise ArgumentError, "Unsupported integer base: #{base.inspect}, expected 10 or 16" end end end