blob: 4881b3d951fd6b6cc55daffe3a25c1619b7c2a9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
require "chef/chef_fs/file_system/memory/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
|