Override children to respond to environment
# File lib/chef/chef_fs/file_system/nodes_dir.rb, line 32 def children @children ||= begin env_api_path = environment ? "environments/#{environment}/#{api_path}" : api_path rest.get_rest(env_api_path).keys.map { |key| RestListEntry.new("#{key}.json", self, true) } rescue Net::HTTPServerException if $!.response.code == "404" raise Chef::ChefFS::FileSystem::NotFoundError.new($!), "#{path_for_printing} not found" else raise end end end
Generated with the Darkfish Rdoc Generator 2.