D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Rational
/
Filename :
divmod-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the quotient <em>and</em> remainder. - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " r = Rational(7,4) # -> Rational(7,4)\n r.divmod Rational(1,2) # -> [3, Rational(1,4)]\n" full_name: Rational#divmod is_singleton: false name: divmod params: (other) visibility: public