Sha256: 190fc472d35cf0ba88d897f8570c36df3d5b8a2f2b98bd4c4d5813c9f11505a1

Contents?: true

Size: 291 Bytes

Versions: 22

Compression:

Stored size: 291 Bytes

Contents

module Tori
  class Config
    attr_accessor :backend
    def initialize
      @backend = nil
      @filename_callback = nil
    end

    def filename_callback(&block)
      if block_given?
        @filename_callback = block
      else
        @filename_callback
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
tori-0.0.5 lib/tori/config.rb
tori-0.0.4 lib/tori/config.rb