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 class Range # Deserializes JSON string by constructing new Range object with arguments # <tt>a</tt> serialized by <tt>to_json</tt>. def self.json_create(object) new(*object['a']) end # Returns a hash, that will be turned into a JSON object and represent this # object. def as_json(*) { JSON.create_id => self.class.name, 'a' => [ first, last, exclude_end? ] } end # Stores class name (Range) with JSON array of arguments <tt>a</tt> which # include <tt>first</tt> (integer), <tt>last</tt> (integer), and # <tt>exclude_end?</tt> (boolean) as JSON string. def to_json(*args) as_json.to_json(*args) end end