Sha256: 443416d6542a2beec844f75c590e1af3c34ff004de924a62d3cabfda10561e2d

Contents?: true

Size: 215 Bytes

Versions: 8

Compression:

Stored size: 215 Bytes

Contents

class ArrayOfHash
  include Looksist

  def menu
    [{
         item_id: 1
    }, {
        item_id: 2
    }, {
        item_id: 3
    }
    ]
  end

  inject after: :menu, using: :item_id, populate: :item_name
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
looksist-0.3.12 features/hash_services/array_of_hash.rb
looksist-0.3.11 features/hash_services/array_of_hash.rb
looksist-0.3.10 features/hash_services/array_of_hash.rb
looksist-0.3.9 features/hash_services/array_of_hash.rb
looksist-0.3.8 features/hash_services/array_of_hash.rb
looksist-0.3.7 features/hash_services/array_of_hash.rb
looksist-0.3.6 features/hash_services/array_of_hash.rb
looksist-0.3.5 features/hash_services/array_of_hash.rb