Accepts a file size in bytes and returns a string with the appropriate prefix (e.g., '1.5 MB', '1024 KB').
Required Ruby Version
>= 0
Authors
Andrii Stavskyi
Versions
-
0.1.0
-
source
- 0.1.0 source May 12, 2025 (7 KB)
-
Accepts a file size in bytes and returns a string with the appropriate prefix (e.g., '1.5 MB', '1024 KB').
>= 0
Andrii Stavskyi
source