Method: Numeric#petabytes

Defined in:
activesupport/lib/active_support/core_ext/numeric/bytes.rb

#petabytesObject Also known as: petabyte

Returns the number of bytes equivalent to the petabytes provided.

2.petabytes # => 2_251_799_813_685_248


55
56
57
# File 'activesupport/lib/active_support/core_ext/numeric/bytes.rb', line 55

def petabytes
  self * PETABYTE
end