module Mongoid::Criteria::Queryable::Extensions::Regexp::Raw_

Adds query type-casting behavior to BSON::Regexp::Raw class.

Public Instance Methods

regexp?() click to toggle source

Is the object a regexp?

@example Is the object a regex?

bson_raw_regexp.regexp?

@return [ true ] Always true. @deprecated

# File lib/mongoid/criteria/queryable/extensions/regexp.rb, line 49
def regexp?; true; end