#primary
Returns the primary server selector.
A call to this method is equivalent to get(mode: <code>:primary</code>), except the
resulting server selector object is cached and not recreated each time.
# File 'lib/mongo/server_selector.rb', line 86
def primary @primary ||= get(mode: :primary) end