rubiii/gyoku — pull request #12 by gazay (2012-04-18 11:04:59+00:00)
Title: Deep duping hash for not affect original objects

Simple problem with hashes which not duped or cloned deeply. Need some hack

Example with Savon:

```ruby
module A
extend self

def base_body
@base_data ||= \
{
:a => 123,
:attributes! => {
:a => {
:some_attr => 321
}
}
}
end

end

savon_client.request :some_request do |soap|
soap.body = { :b => 123, :c => A.base_body }
end

puts A.base_body
# => { :a => 123 }
```