Module: Chef::Mixin::FileClass
- Included in:
- ChefFS::FileSystem::CookbooksDir, Provider::File, Provider::Link, Provider::RemoteDirectory
- Defined in:
- lib/chef/mixin/file_class.rb
Instance Method Summary collapse
Instance Method Details
#file_class ⇒ Object
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 |