Current Path : /opt/alt/ruby18/share/ri/1.8/system/Numeric/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/Numeric/round-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Rounds <em>num</em> to the nearest integer. <tt>Numeric</tt> implements this by converting itself to a <tt>Float</tt> and invoking <tt>Float#round</tt>. full_name: Numeric#round is_singleton: false name: round params: | num.round => integer visibility: public