Class: Aruba::Platforms::DiskUsageCalculator

Inherits:
Object
  • Object
show all
Defined in:
lib/aruba/platforms/disk_usage_calculator.rb

Overview

Calculate disk usage

Instance Method Summary collapse

Instance Method Details

#call(blocks, block_size) ⇒ Object

Calc



15
16
17
# File 'lib/aruba/platforms/disk_usage_calculator.rb', line 15

def call(blocks, block_size)
  Aruba::FileSize.new(blocks * block_size)
end