Sha256: aefc913e496a7b7e8f06673c08f9f4490c39f1bdb3aaa302a111e688258c5b90

Contents?: true

Size: 512 Bytes

Versions: 3

Compression:

Stored size: 512 Bytes

Contents

require_relative "memory_dir"

class Chef
  module ChefFS
    module FileSystem
      module Memory
        class MemoryRoot < MemoryDir
          def initialize(pretty_name, cannot_be_in_regex = nil)
            super("", nil)
            @pretty_name = pretty_name
            @cannot_be_in_regex = cannot_be_in_regex
          end

          attr_reader :cannot_be_in_regex

          def path_for_printing
            @pretty_name
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chef-15.0.300-universal-mingw32 lib/chef/chef_fs/file_system/memory/memory_root.rb
chef-15.0.298-universal-mingw32 lib/chef/chef_fs/file_system/memory/memory_root.rb
chef-15.0.293-universal-mingw32 lib/chef/chef_fs/file_system/memory/memory_root.rb