Skip to content

"250.5M".human_size_to_number

[4] pry(main)> "250.5M".human_size_to_number
=> nil

Unfortunately this is the size reported by lsblk, I don't have control of the format. Can you please add support for this? pretty please? :)