Publisher review:Make a file of arbitrary size - Everybody needs to create files of specific sizes, especially in the testing world. Everybody needs to create files of specific sizes, especially in the testing world. There are a zillion ways to do this. In the snippet below, there are two specific Ruby-isms to pay attention to (or, for the grammar police amongst you: "to which to pay attention"). (1) note that the number 1 has methods; everything in Ruby is an object including simple integers; (2) the specific method called, "upto", is an iterator, a big-time Ruby-ism.
Make a file of arbitrary size is a Ruby script for Internet, Browsers and Tools scripts design by Two Grunts.
It runs on following operating system: Windows / Linux / Mac OS.
Operating system:Windows / Linux / Mac OS