Method: Ldp::Response#dup
- Defined in:
- lib/ldp/response.rb
#dup ⇒ Object
70 71 72 73 74 75 76 |
# File 'lib/ldp/response.rb', line 70 def dup super.tap do |new_resp| unless new_resp.instance_variable_get(:@graph).nil? new_resp.remove_instance_variable(:@graph) end end end |