From: "yhara (Yutaka HARA)" Date: 2013-02-14T18:59:05+09:00 Subject: [ruby-core:52255] [ruby-trunk - Feature #4840][Feedback] Allow returning from require Issue #4840 has been updated by yhara (Yutaka HARA). Status changed from Assigned to Feedback Assignee changed from matz (Yukihiro Matsumoto) to mame (Yusuke Endoh) Target version changed from 2.0.0 to next minor ---------------------------------------- Feature #4840: Allow returning from require https://bugs.ruby-lang.org/issues/4840#change-36277 Author: rosenfeld (Rodrigo Rosenfeld Rosas) Status: Feedback Priority: Normal Assignee: mame (Yusuke Endoh) Category: Target version: next minor 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/