class Mongo::Operation::CollectionsInfo::Result

Defines custom behavior of results when query the system.namespaces collection.

@since 2.1.0

Public Instance Methods

namespace() click to toggle source

Get the namespace for the cursor.

@example Get the namespace.

result.namespace

@return [ String ] The namespace.

@since 2.1.0

# File lib/mongo/operation/collections_info/result.rb, line 33
def namespace
  Database::NAMESPACES
end