Method: Mongo::Connection#server_version

Defined in:
lib/jmongo/connection.rb

#server_versionMongo::ServerVersion

Get the build version of the current server.



219
220
221
# File 'lib/jmongo/connection.rb', line 219

def server_version
  ServerVersion.new(server_info["version"])
end