Current Path :
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Rational
/
Or
Select Your Path :
Upload File :
New :
File
Dir
//proc/self/root/opt/alt/ruby18/share/ri/1.8/system/Rational/%25-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the remainder when this value is divided by <tt>other</tt>. - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " r = Rational(7,4) # -> Rational(7,4)\n r % Rational(1,2) # -> Rational(1,4)\n r % 1 # -> Rational(3,4)\n r % Rational(1,7) # -> Rational(1,28)\n r % 0.26 # -> 0.19\n" full_name: Rational#% is_singleton: false name: "%" params: (other) visibility: public