Q: What does the last expression evaluates to?
Answered
quizz 18/36
module A def day "monday" end end module B def day "tuesday" end end class C prepend A def day "wednesday" end end class D < C include B def day "thursday" end end D.new.day
copy
Ruby 3.3.0
monday
tuesday
wesnesday
thursday
privacy policy