When you start a Ruby program, the Ruby interpreter creates a top-level object which is called main.

to_s                    # => "main"

puts to_s               # main
puts self               # main
puts self.class         # Object