Sha256: f294c799dcd76a938aeaa95a7a1f50ea1ac0b75266f8671f2771e6ef42022fcc
Contents?: true
Size: 368 Bytes
Versions: 35
Compression:
Stored size: 368 Bytes
Contents
# -*- coding: utf-8 -*- # # Copyright 2013 whiteleaf. All rights reserved. # module Device::Library module Mac def get_device_root_dir(volume_name) %w(/Volumes).each do |mount_root| path = File.join(mount_root, volume_name) if File.directory?(path) return path end end nil end end end
Version data entries
35 entries across 35 versions & 1 rubygems