Sha256: 40b0234a913b8176651fd47320385cfb6066d3bc3b9147560b1bea6ac901726f
Contents?: true
Size: 359 Bytes
Versions: 16
Compression:
Stored size: 359 Bytes
Contents
# frozen_string_literal: true module Trailblazer class Finder # Helper module module Utils module Array module_function def convert_hashes_in_array_to_struct(hash) result = [] hash.each do |h| result << (OpenStruct.new h) end result end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems