class Aruba::Platforms::DiskUsageCalculator

Calculate disk usage

Public Instance Methods

call(blocks, block_size) click to toggle source

Calc

@param [Integer] blocks

Count of blocks

@param [Integer] block_size

The size of a single block
# File lib/aruba/platforms/disk_usage_calculator.rb, line 15
def call(blocks, block_size)
  Aruba::FileSize.new(blocks * block_size)
end