Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.119
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
ruby /
2.3.0 /
json /
add /
Delete
Unzip
Name
Size
Permission
Date
Action
bigdecimal.rb
599
B
-rw-r--r--
2021-12-06 00:55
complex.rb
750
B
-rw-r--r--
2021-12-06 00:55
core.rb
349
B
-rw-r--r--
2021-12-06 00:55
date.rb
882
B
-rw-r--r--
2021-12-06 00:55
date_time.rb
1.3
KB
-rw-r--r--
2021-12-06 00:55
exception.rb
800
B
-rw-r--r--
2021-12-06 00:55
ostruct.rb
798
B
-rw-r--r--
2021-12-06 00:55
range.rb
787
B
-rw-r--r--
2021-12-06 00:55
rational.rb
781
B
-rw-r--r--
2021-12-06 00:55
regexp.rb
761
B
-rw-r--r--
2021-12-06 00:55
struct.rb
787
B
-rw-r--r--
2021-12-06 00:55
symbol.rb
615
B
-rw-r--r--
2021-12-06 00:55
time.rb
1017
B
-rw-r--r--
2021-12-06 00:55
Save
Rename
# frozen_string_literal: false unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED require 'json' end require 'ostruct' class OpenStruct # 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['t'] || object[:t]) 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, 't' => table, } end # Stores class name (OpenStruct) with this struct's values <tt>v</tt> as a # JSON string. def to_json(*args) as_json.to_json(*args) end end