Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumRubydup vs cloneSingle-choice MCQ

A class overrides the copy hooks. In what order are the hooks called when you run `obj.clone`?

class T def initialize_copy(o); puts "copy"; super; end def initialize_clone(o, **); puts "clone"; super; end end T.new.clone