[ANN] filesize v. 0.0.1

D

dominikho

filesize.rb[1][2] provides a class for easily working with file sizes.
That means:

* Parsing strings (e.g. "1 GiB") and saving it internally as bytes
* Handling both SI and binary prefixes
* Converting from any type and unit to any other (SI to SI, SI to Binary and so on)
* doing calculatings with filesizes (in a smart way, see documentation[3] for more)
* filesize.rb also provides some default sizes, like the ones of DVDs

Links
[1] http://rubyforge.org/projects/filesize/
[2] http://github.com/dominikh/filesize/tree/master
[3] http://filesize.rubyforge.org/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,781
Messages
2,569,615
Members
45,304
Latest member
CalmwellCBDIngredients

Latest Threads

Top