Sha256: 93cd80b325ae0dc018f80bfc7806908f28f327ea36648e234f77de061202df40

Contents?: true

Size: 178 Bytes

Versions: 2

Compression:

Stored size: 178 Bytes

Contents

#
# 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

2 entries across 2 versions & 1 rubygems

Version Path
human_size-1.1.1 lib/human_size/overloads.rb
human_size-1.1.0 lib/human_size/overloads.rb