Sha256: 875a95ac2d8735a8c5c0d74d51799c2a7a5aa74ba3a90414f70a73dfdfeb4785
Contents?: true
Size: 434 Bytes
Versions: 7
Compression:
Stored size: 434 Bytes
Contents
# frozen_string_literal: true module RSpec module XlsxMatchers # internal utilities module Utils def force_array(value) if value.is_a?(Array) value else [value] end end def map_output(array) array.map do |v| if v.is_a?(String) "'#{v}'" else v end end.join(", ") end end end end
Version data entries
7 entries across 7 versions & 1 rubygems