Sha256: 72394652e5015fa99c22c3185e2621365ccdf05609f7b60b99286dda1015f28c

Contents?: true

Size: 126 Bytes

Versions: 3

Compression:

Stored size: 126 Bytes

Contents

class Hash
  def bind(relation)
    Hash[map { |key, value|
      [key.bind(relation), value.bind(relation)]
    }]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
arel-1.0.1 lib/arel/algebra/core_extensions/hash.rb
arel-1.0.0 lib/arel/algebra/core_extensions/hash.rb
arel-1.0.0.rc1 lib/arel/algebra/core_extensions/hash.rb