Sha256: 7011818d6c0610c6185f60c1fe8026c2c839306acd922781646434713ec2ee7a
Contents?: true
Size: 402 Bytes
Versions: 29
Compression:
Stored size: 402 Bytes
Contents
require 'aruba/file_size' # Aruba module Aruba # Platforms module Platforms # Calculate disk usage class DiskUsageCalculator # Calc # # @param [Integer] blocks # Count of blocks # @param [Integer] block_size # The size of a single block def call(blocks, block_size) Aruba::FileSize.new(blocks * block_size) end end end end
Version data entries
29 entries across 29 versions & 3 rubygems