Skip to content

ChuckJHardy/refile-memory

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%