def is_required_day?(time, day)
			day_to_ask = "#{day}?"
			result = eval("time.#{day_to_ask}") if time.respond_to? day_to_ask.to_sym
			return result
		end
def is_required_day?(time, day)
			day_to_ask = "#{day}?"
			result = eval("time.#{day_to_ask}") if time.respond_to? day_to_ask.to_sym
			return result
		end
Method to know if the day is the required day

 @param [Time] time
 @param [String] day = to match in case statement
 @return [Boolean] = true if day is the required day