Module NestingNesting with module with double colons (::)## Module User must be defined beforehand.module Userend class User::Admin p Module.nestingend # Output:$ruby main.rb[User::Admin]CopyIf Module User is not defined beforehand, we get an error:class User::Admin p Module.nestingend # Output:$ruby main.rbmain.rb:4:in `<main>': uninitialized constant User (NameError)CopyNesting with module without double colons (::)#module User class Admin p Module.nesting endend # Output:$ruby main.rb[User::Admin, User]Copy