Module: Arel::HashExtensions
- Defined in:
- lib/arel/algebra/core_extensions/hash.rb
Instance Method Summary collapse
Instance Method Details
#bind(relation) ⇒ Object
3 4 5 6 7 |
# File 'lib/arel/algebra/core_extensions/hash.rb', line 3 def bind(relation) inject({}) do |bound, (key, value)| bound.merge(key.bind(relation) => value.bind(relation)) end end |