Sha256: d3ceb1aa80afe6d720fc1ccdccc3a04d9ea14e26dfd217bbbfd5576a520b290b

Contents?: true

Size: 80 Bytes

Versions: 4

Compression:

Stored size: 80 Bytes

Contents

class Hash
  def flip
    Hash[*self.to_a.collect(&:reverse).flatten]
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
music-0.6.2 lib/music/patches/hash.rb
music-0.6.1 lib/music/patches/hash.rb
music-0.5.1 lib/music/patches/hash.rb
music-0.5.0 lib/music/patches/hash.rb