Module: Mongoid::Criteria::Queryable::Extensions::Regexp::Raw

Defined in:
build/mongoid-6.1/lib/mongoid/criteria/queryable/extensions/regexp.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#regexp?true

Is the object a regexp?

Examples:

Is the object a regex?

bson_raw_regexp.regexp?

Returns:

  • (true)

    Always true.

Since:

  • 5.2.1



49
# File 'build/mongoid-6.1/lib/mongoid/criteria/queryable/extensions/regexp.rb', line 49

def regexp?; true; end