From: "mame (Yusuke Endoh)" <mame@...> Date: 2012-06-08T08:00:11+09:00 Subject: [ruby-core:45493] [ruby-trunk - Feature #4840] Allow returning from require Issue #4840 has been updated by mame (Yusuke Endoh). Received. Thanks for quick action! But, matz said "returning from outside of a method makes me so weird" once. I'm ok if you want to give it a second try with no change, but I guess matz is not likely to accept it for the same reason. (Well, but, maybe it isn't so bad way because he sometimes changes his mind) -- Yusuke Endoh <mame@tsg.ne.jp> ---------------------------------------- Feature #4840: Allow returning from require https://bugs.ruby-lang.org/issues/4840#change-27081 Author: rosenfeld (Rodrigo Rosenfeld Rosas) Status: Assigned Priority: Normal Assignee: matz (Yukihiro Matsumoto) Category: Target version: I have a situation where there is some code in Gitorious like: unless defined? GitoriousConfig # tons of lines here end And I would it to look like return if defined? GitoriousConfig #tons of lines here It would be great to allow return from a required file or some other keyword (break, etc or a new one) -- http://bugs.ruby-lang.org/