25 26 27 28 29 30 31 32
# File 'lib/chef/mixin/file_class.rb', line 25 def file_class @host_os_file ||= if Chef::Platform.windows? require "chef/win32/file" Chef::ReservedNames::Win32::File else ::File end end