module Chef::Mixin::FileClass

Public Instance Methods

file_class() click to toggle source
# File lib/chef/mixin/file_class.rb, line 29
def file_class
  @host_os_file ||= if Chef::Platform.windows?
    Chef::ReservedNames::Win32::File
  else
    ::File
  end
end