You shouldn't have this condition, the top-level self's `to_s` is always `"main"`. Try it yourself:

```
Alexs-MacBook-Pro-2:tmp alex_gaynor$ cat t.rb 
puts $0
puts self
Alexs-MacBook-Pro-2:tmp alex_gaynor$ ruby t.rb 
t.rb
main
```