@private
@private
# File lib/rspec/mocks/serialization.rb, line 18 18: def to_yaml(options = {}) 19: return nil if defined?(::Psych) && options.respond_to?(:[]) && options[:nodump] 20: return super(options) unless instance_variable_defined?(:@mock_proxy) 21: 22: mp = @mock_proxy 23: remove_instance_variable(:@mock_proxy) 24: 25: begin 26: super(options) 27: ensure 28: @mock_proxy = mp 29: end 30: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.