class Synco::Command::Mount

Public Instance Methods

call() click to toggle source
# File lib/synco/command/disk.rb, line 37
def call
        # We may not have permission to make this directory, but we should still try:
        FileUtils.mkpath(@path) rescue nil
        
        Disk.mount(@path, @name)
end