Home

Awesome

Refile::Memory

An in-memory backend for Refile.

This probably isn't super useful, but it serves as an illustration on how to write backends for Refile.

Installation

Add this line to your application's Gemfile:

gem 'refile-memory'

Set up Refile to use the memory backend:

Refile.configure do |config|
  config.cache = Refile::Memory::Backend.new
  config.store = Refile::Memory::Backend.new
end

License

MIT