Ruby - Metaprogramming Fundamentals
What does
Class.new do in Ruby?Class.new do in Ruby?Class.newClass.new is used to create a new class dynamically while the program runs, without writing a full class definition.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions