mitchellh / virtualbox

[ABANDONED] Create and modify virtual machines in VirtualBox using pure ruby.
http://mitchellh.github.com/virtualbox/
MIT License
245 stars 45 forks source link

Normalize all size integers #15

Closed KieranP closed 14 years ago

KieranP commented 14 years ago

Current, various size operations (like hd.size and hd.logical_size) return different units. Some are bytes, some kilobytes, and some megabytes.

Normalize all values to bytes by default, so the user of the gem can know they'll be getting a byte value.

mitchellh commented 14 years ago

Done: http://github.com/mitchellh/virtualbox/commit/154b82dc9d5fe68a518f5f15f26f95a6451a2023

Let me know if you find any others.

Thanks.