Method: Atatus::Config::Bytes#initialize
- Defined in:
- lib/atatus/config/bytes.rb
#initialize(default_unit: 'kb') ⇒ Bytes
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Bytes.
31 32 33 |
# File 'lib/atatus/config/bytes.rb', line 31 def initialize(default_unit: 'kb') @default_unit = default_unit end |