Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
ruby /
3.1.0 /
error_highlight /
Delete
Unzip
Name
Size
Permission
Date
Action
base.rb
12.33
KB
-rw-r--r--
2022-04-12 11:11
core_ext.rb
1.29
KB
-rw-r--r--
2022-04-12 11:11
formatter.rb
638
B
-rw-r--r--
2022-04-12 11:11
version.rb
46
B
-rw-r--r--
2022-04-12 11:11
Save
Rename
module ErrorHighlight class DefaultFormatter def self.message_for(spot) # currently only a one-line code snippet is supported if spot[:first_lineno] == spot[:last_lineno] indent = spot[:snippet][0...spot[:first_column]].gsub(/[^\t]/, " ") marker = indent + "^" * (spot[:last_column] - spot[:first_column]) "\n\n#{ spot[:snippet] }#{ marker }" else "" end end end def self.formatter Ractor.current[:__error_highlight_formatter__] || DefaultFormatter end def self.formatter=(formatter) Ractor.current[:__error_highlight_formatter__] = formatter end end