From: Trans Date: 2012-07-24T11:42:41+09:00 Subject: [ruby-core:46704] Re: [ruby-trunk - Feature #4840] Allow returning from require >> How about redefining `__END__` to allow to call it as a method? > > It has compatibility issue that __END__ is related to DATA. Then what about `__end__`? Tangentially, why not deprecate __END__? Is there some really important use case that we just can't live without? The whole idea strikes me as rather hackish, especially considering it is limited to main file.