Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 498 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 498 Bytes

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