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