Class: Synco::Command::Mount
- Inherits:
-
Samovar::Command
- Object
- Samovar::Command
- Synco::Command::Mount
- Defined in:
- lib/synco/command/disk.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
22 23 24 25 26 27 |
# File 'lib/synco/command/disk.rb', line 22 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 |