Sha256: bd95497d247fe46b9f43a27e4c29f03a6095daff416af4da4a5bf7d241cbc15f
Contents?: true
Size: 342 Bytes
Versions: 38
Compression:
Stored size: 342 Bytes
Contents
# RAILS3 TODO (likely not needed - it was commented out before rails3 branch) # module SpreeCore::Ext::Array # def to_hash_keys(&block) # Hash[*self.collect { |v| # [v, block.call(v)] # }.flatten] # end # # def to_hash_values(&block) # Hash[*self.collect { |v| # [block.call(v), v] # }.flatten] # end # end
Version data entries
38 entries across 38 versions & 6 rubygems