Q28
What does the ordinal method return for a Date object in Ruby?
A.
Returns the day of the year (1-365)
B.
Returns the day of the month (1-31)
C.
Returns the day of the Date object
D.
Returns the day of the week (1-7)
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board