# File lib/moped/bson/extensions/regexp.rb, line 7 def __bson_dump__(io, key) io << Types::REGEX io << key.to_bson_cstring io << source.to_bson_cstring io << 'i' if (options & ::Regexp::IGNORECASE) != 0 io << 'ms' if (options & ::Regexp::MULTILINE) != 0 io << 'x' if (options & ::Regexp::EXTENDED) != 0 io << NULL_BYTE end
Generated with the Darkfish Rdoc Generator 2.