Sha256: 1e6a49a0a67628bb6095eaa52a7f4a8b55e1821ba5b05bda3fa28902ed8720ac

Contents?: true

Size: 140 Bytes

Versions: 66

Compression:

Stored size: 140 Bytes

Contents

class Hash
  def symbolize_keys!
    keys.each do |key|
      self[(key.to_sym rescue key) || key] = delete(key)
    end
    self
  end
end

Version data entries

66 entries across 66 versions & 8 rubygems

Version Path
loopiator-0.4.2 lib/loopiator/extensions/hash.rb
loopiator-0.4.1 lib/loopiator/extensions/hash.rb
loopiator-0.4.0 lib/loopiator/extensions/hash.rb
mojo_magick-0.5.6 lib/initializers/hash.rb
mojo_magick-0.5.5 lib/initializers/hash.rb
phrase-0.4.33 lib/ext/hash.rb
phrase-0.4.32 lib/ext/hash.rb
phrase-0.4.31 lib/ext/hash.rb
phrase-0.4.30 lib/ext/hash.rb
phrase-0.4.29 lib/ext/hash.rb
phrase-0.4.28 lib/ext/hash.rb
phrase-0.4.27 lib/ext/hash.rb
phrase-0.4.26 lib/ext/hash.rb
phrase-0.4.25 lib/ext/hash.rb
phrase-0.4.24 lib/ext/hash.rb
phrase-0.4.23 lib/ext/hash.rb
phrase-0.4.22 lib/ext/hash.rb
phrase-0.4.21 lib/ext/hash.rb
phrase-0.4.20 lib/ext/hash.rb
phrase-0.4.19 lib/ext/hash.rb