Sha256: 08892ad8afa3a0bf96f20c8d9fc548aa287e69dfd96e93d61494eb34a88d35df

Contents?: true

Size: 209 Bytes

Versions: 1

Compression:

Stored size: 209 Bytes

Contents

# frozen_string_literal: true

#
# Overload the integer class
#
class Integer
    def human_size(a_kilobyte_is_1024_bytes = true)
        HumanSize::Size.human_size(self, a_kilobyte_is_1024_bytes)
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
human_size-1.1.2 lib/human_size/overloads.rb