ChuckJHardy / refile-memory

In-memory backend for Refile

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

In-memory backend for Refile

License:MIT License


Languages

Language:Ruby 100.0%