- # Rails 4 adds a built-in `options` method. When we upgrade, we can remove
- # this definition.
- unless instance_methods.include?(:options)
- def options(*args)
- reset! unless integration_session
- @html_document = nil
- integration_session.send(:process, :options, *args).tap do
- copy_session_variables!
- end
- end
- end
-