--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the quotient and 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