Sha256: bf07a2f78d8f8436ffc3edf95bfe50517735bd8b1c921cc608a1dee8c5b3fbf2

Contents?: true

Size: 415 Bytes

Versions: 1

Compression:

Stored size: 415 Bytes

Contents

require 'tori/backend/filesystem'
require 'tori/config'
require 'tori/define'
require 'tori/version'
require 'pathname'
require 'digest/md5'
require "fileutils"

module Tori
  class << self
    def config
      @config ||= Config.new.tap do |config|
        config.backend = Tori::Backend::FileSystem.new(Pathname("tmp/tori"))
        config.hash_method = Digest::MD5.method(:hexdigest)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tori-0.0.1 lib/tori.rb