Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumRubyprepend vs includeSingle-choice MCQ

With `prepend`, where does the module land in the ancestor chain and what does `super` reach?

module Logging def save; "log -> " + super; end end class Record prepend Logging def save; "saved"; end end puts Record.new.save