Sha256: bd96d3edc1ad913084ddb10cbe7db152b7d6e81aaf4c53db9afb77ddbe7220be

Contents?: true

Size: 632 Bytes

Versions: 6

Compression:

Stored size: 632 Bytes

Contents

# Ramdo

Fast temporary store powered by RAM disks.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'ramdo'
```

And then execute:

    $ bundle

## How to use

Acutally quite simple

```ruby
require 'ramdo'
store = Ramdo::Store.new
store.data = 'Some Data'

puts `cat #{store.file}`
# Some Data

puts store.data
# Some Data

```


## Low-level API usage
### Create a new RAM disk

```ruby
require 'ramdo'
wrapper = Ramdo::Ramdisk::Factory.get
disk = wrapper.create('100 mb')

IO.write(disk.path + '/test_file', 'some important data')
```


by Patrick Franken, created through Tamyca FunFriday 29.07.2016

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ramdo-0.3.0 README.md
ramdo-0.2.1 README.md
ramdo-0.1.5 README.md
ramdo-0.1.4 README.md
ramdo-0.1.3 README.md
ramdo-0.1.2 README.md