class BSON::Regexp::Raw

def respond_to_missing?(method, include_private = false)

Parameters:
  • method (String) -- The name of a method.
def respond_to_missing?(method, include_private = false)
  # YAML calls #respond_to? during deserialization, before the object
  # is initialized.
  defined?(@pattern) && compile.respond_to?(method, include_private)
end