Sha256: 368311454633f20ce979932ccd7b11bc68cbaf36ae9fe9d8171cb91369da42b4

Contents?: true

Size: 224 Bytes

Versions: 7

Compression:

Stored size: 224 Bytes

Contents

class ArrayOfHash
  include Looksist

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

  inject after: :menu, at: '$', using: :item_id, populate: :item_name
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
looksist-0.3.4 features/hash_services/array_of_hash.rb
looksist-0.3.3 features/hash_services/array_of_hash.rb
looksist-0.3.2 features/hash_services/array_of_hash.rb
looksist-0.3.1 features/hash_services/array_of_hash.rb
looksist-0.3.0 features/hash_services/array_of_hash.rb
looksist-0.2.10 features/hash_services/array_of_hash.rb
looksist-0.2.9 features/hash_services/array_of_hash.rb