Module: Chef::Mixin::FileClass
- Included in:
- ChefFS::FileSystem::ChefServer::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 ChefUtils.windows? require_relative "../win32/file" Chef::ReservedNames::Win32::File else ::File end end |