$16 GRAYBYTE WORDPRESS FILE MANAGER $84

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

/opt/cpanel/ea-ruby27/root/usr/lib64/ruby/ruby-2.7.8/mathn/rational/

HOME
Current File : /opt/cpanel/ea-ruby27/root/usr/lib64/ruby/ruby-2.7.8/mathn/rational//inspect_spec.rb
require_relative '../../../spec_helper'

ruby_version_is ''...'2.5' do
  require 'mathn'

  describe "Rational#inspect" do
    it "returns a string representation of self" do
      Rational(3, 4).inspect.should == "(3/4)"
      Rational(-5, 8).inspect.should == "(-5/8)"
      Rational(-1, -2).inspect.should == "(1/2)"
      Rational(0, 2).inspect.should == "0"
      Rational(bignum_value, 1).inspect.should == "#{bignum_value}"
    end
  end
end


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Mar 2024 10.21 AM
root / root
0755
Rational_spec.rb
0.393 KB
5 Apr 2023 3.24 PM
root / root
0644
inspect_spec.rb
0.438 KB
5 Apr 2023 3.24 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF