Method: Chef::Util::Windows::Volume#initialize
- Defined in:
- lib/chef/util/windows/volume.rb
#initialize(name) ⇒ Volume
Returns a new instance of Volume.
27 28 29 30 |
# File 'lib/chef/util/windows/volume.rb', line 27 def initialize(name) name += "\\" unless /\\$/.match?(name) # trailing slash required @mount_point = name end |