lib/gossh/client.rb
# Save SSH paths to the persistence layer
Save SSH paths to the persistence layer
Save SSH paths to the persistence layer
def save
      File.open(CONFIG_PATH, "w") do |file|
        file_contents = {
          "connections": @connections.map {|connection| connection.to_hash }
        }
        file.write(file_contents.to_json)
      end
    end
def save File . open ( CONFIG_PATH , "w" ) do | file | file_contents = { "connections" : @connections . map { | connection | connection . to_hash } } file . write ( file_contents . to_json ) end end
Save SSH paths to the persistence layer
Save SSH paths to the persistence layer