Sha256: 4dbd447493ec8be62550874aead9a4749e1c8cb557c4c19e280b0394c9f7f7e8

Contents?: true

Size: 276 Bytes

Versions: 26

Compression:

Stored size: 276 Bytes

Contents

class DeepHash
  include Looksist

  def metrics
    {
        table: {
            inner_table: {
                employee_id: [10, 20]
            }
        }
    }
  end

  inject after: :metrics, at: '$.table.inner_table', using: :employee_id, populate: :employee_name
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
looksist-0.3.12 features/hash_services/deep_hash.rb
looksist-0.3.11 features/hash_services/deep_hash.rb
looksist-0.3.10 features/hash_services/deep_hash.rb
looksist-0.3.9 features/hash_services/deep_hash.rb
looksist-0.3.8 features/hash_services/deep_hash.rb
looksist-0.3.7 features/hash_services/deep_hash.rb
looksist-0.3.6 features/hash_services/deep_hash.rb
looksist-0.3.5 features/hash_services/deep_hash.rb
looksist-0.3.4 features/hash_services/deep_hash.rb
looksist-0.3.3 features/hash_services/deep_hash.rb
looksist-0.3.2 features/hash_services/deep_hash.rb
looksist-0.3.1 features/hash_services/deep_hash.rb
looksist-0.3.0 features/hash_services/deep_hash.rb
looksist-0.2.10 features/hash_services/deep_hash.rb
looksist-0.2.9 features/hash_services/deep_hash.rb
looksist-0.2.8 features/hash_services/deep_hash.rb
looksist-0.2.7 features/hash_services/deep_hash.rb
looksist-0.2.6 features/hash_services/deep_hash.rb
looksist-0.2.5 features/hash_services/deep_hash.rb
looksist-0.2.4 features/hash_services/deep_hash.rb