d9978a7835
git-svn-id: https://websvn.glenux.net/svn/Upoc/sshfs-mapper/trunk@1438 eaee96b3-f302-0410-b096-c6cfd47f7835
27 lines
387 B
Ruby
27 lines
387 B
Ruby
module SshfsMapper
|
|
class Map
|
|
def initialize( map_path )
|
|
@path = map_path
|
|
@host = nil
|
|
@port = 22
|
|
@user = nil
|
|
end
|
|
|
|
def parse()
|
|
puts "Parsing map #{@path}"
|
|
#
|
|
end
|
|
|
|
def connect()
|
|
puts "Connecting map #{@path}"
|
|
# do something
|
|
# test server connection
|
|
# mount
|
|
end
|
|
|
|
def disconnect()
|
|
puts "Disconnecting map #{@path}"
|
|
# umount
|
|
end
|
|
end
|
|
end
|