Sha256: 21c418e6953fcee0a18a022c0bc4e7648bfd66d0254d274f669b1189a628d19e

Contents?: true

Size: 479 Bytes

Versions: 6

Compression:

Stored size: 479 Bytes

Contents

# Digital Storage

Type | Keys
--- | ---
Units | `:bytes`, `:kilobytes`, `:megabytes`, `:gigabytes`, `:terabytes`, `:petabytes`, `:exabytes`

Option | Type | Default
--- | --- | ---
from, to | symbol | ---

```ruby
klass = Lite::Measurements::DigitalStorage.new(2)
klass = klass.convert(from: :bytes, to: :kilobytes)

# - or -

Lite::Measurements::DigitalStorage.convert(2, from: :megabytes, to: :bytes)

# - or -

2.convert_digital_storage(from: :terabytes, to: :petabytes)
```

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lite-measurements-2.0.0 docs/DIGITAL_STORAGE.md
lite-measurements-1.1.1 docs/DIGITAL_STORAGE.md
lite-measurements-1.1.0 docs/DIGITAL_STORAGE.md
lite-measurements-1.0.2 docs/DIGITAL_STORAGE.md
lite-measurements-1.0.1 docs/DIGITAL_STORAGE.md
lite-measurements-1.0.0 docs/DIGITAL_STORAGE.md