Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardRubythe object model classes are objectsSingle-choice MCQ

Modules are objects with instance variables. Given the code below, after `M.setup`, what does `M.instance_variable_get(:@count)` return and why?

module M def self.setup @count ||= 0 @count += 1 end end M.setup