Module: Mongoid::Criteria::Queryable::Extensions::Regexp::Raw_

Defined in:
build/mongoid-master/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



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

def regexp?; true; end