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.8.0 lib/tori/config.rb
tori-0.7.2 lib/tori/config.rb
tori-0.7.1 lib/tori/config.rb
tori-0.6.6 lib/tori/config.rb
tori-0.6.5 lib/tori/config.rb
tori-0.6.4 lib/tori/config.rb
tori-0.6.3 lib/tori/config.rb
tori-0.6.2 lib/tori/config.rb
tori-0.6.1 lib/tori/config.rb
tori-0.6.0 lib/tori/config.rb
tori-0.5.0 lib/tori/config.rb
tori-0.4.1 lib/tori/config.rb
tori-0.4.0 lib/tori/config.rb
tori-0.3.0 lib/tori/config.rb
tori-0.2.0 lib/tori/config.rb
tori-0.1.0 lib/tori/config.rb
tori-0.0.9 lib/tori/config.rb
tori-0.0.8 lib/tori/config.rb
tori-0.0.7 lib/tori/config.rb
tori-0.0.6 lib/tori/config.rb