Sha256: a769603f276ec19ca48e5b75d16dddbb35700aa787ca9d81039342bf5e49412f
Contents?: true
Size: 180 Bytes
Versions: 8
Compression:
Stored size: 180 Bytes
Contents
# frozen_string_literal: true class Company def create_employes(people) people.map do |person| Employe.new(company: self, **person) end.select(&:adult?) end end
Version data entries
8 entries across 8 versions & 1 rubygems