$64 GRAYBYTE WORDPRESS FILE MANAGER $72

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby22/lib64/ruby/2.2.0/json/add/

HOME
Current File : /opt/alt/ruby22/lib64/ruby/2.2.0/json/add//complex.rb
unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
  require 'json'
end
defined?(::Complex) or require 'complex'

class Complex
  def self.json_create(object)
    Complex(object['r'], object['i'])
  end

  def as_json(*)
    {
      JSON.create_id => self.class.name,
      'r'            => real,
      'i'            => imag,
    }
  end

  def to_json(*)
    as_json.to_json
  end
end


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.43 PM
root / linksafe
0755
bigdecimal.rb
0.555 KB
26 Jul 2023 2.31 PM
root / linksafe
0644
complex.rb
0.389 KB
26 Jul 2023 2.31 PM
root / linksafe
0644
core.rb
0.311 KB
26 Jul 2023 2.31 PM
root / linksafe
0644
date.rb
0.831 KB
26 Jul 2023 2.31 PM
root / linksafe
0644
date_time.rb
1.268 KB
26 Jul 2023 2.31 PM
root / linksafe
0644
exception.rb
0.751 KB
26 Jul 2023 2.31 PM
root / linksafe
0644
ostruct.rb
0.749 KB
26 Jul 2023 2.31 PM
root / linksafe
0644
range.rb
0.738 KB
26 Jul 2023 2.31 PM
root / linksafe
0644
rational.rb
0.404 KB
26 Jul 2023 2.31 PM
root / linksafe
0644
regexp.rb
0.713 KB
26 Jul 2023 2.31 PM
root / linksafe
0644
struct.rb
0.738 KB
26 Jul 2023 2.31 PM
root / linksafe
0644
symbol.rb
0.57 KB
26 Jul 2023 2.31 PM
root / linksafe
0644
time.rb
0.973 KB
26 Jul 2023 2.31 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF