--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See <tt>File.truncate</tt>. Truncate the file to <tt>length</tt> bytes. full_name: Pathname#truncate is_singleton: false name: truncate params: (length) visibility: public