module Coroutine
Constants
- VERSION
Public Class Methods
who_has_to_have_lunch_with_me()
click to toggle source
# File lib/coroutine.rb, line 5 def self.who_has_to_have_lunch_with_me employees = %w[scott mark phil fred] days = %w[mon tue wed thu fri] days.map do |day| "#{day} => #{employees.sample(2)}" end end