Sha256: cff0f7b1b8b29e0e40736bd71f43153a6463804c3611aa2430811896bccea7ca

Contents?: true

Size: 182 Bytes

Versions: 4

Compression:

Stored size: 182 Bytes

Contents

module KeyTree
  module Loader
    # KeyTree loader that ignores payload and produces an empty tree
    module Nil
      def self.load(*_drop)
        {}
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
key_tree-0.5.3 lib/key_tree/loader/nil.rb
key_tree-0.5.2 lib/key_tree/loader/nil.rb
key_tree-0.5.1 lib/key_tree/loader/nil.rb
key_tree-0.5.0 lib/key_tree/loader/nil.rb