From: "rosenfeld (Rodrigo Rosenfeld Rosas)" Date: 2013-05-09T21:42:01+09:00 Subject: [ruby-core:54882] [ruby-trunk - Feature #4840] Allow returning from require Issue #4840 has been updated by rosenfeld (Rodrigo Rosenfeld Rosas). Pretty simple, indeed :) Not that I understand it, just that I appreciate its simplicity ;) ---------------------------------------- Feature #4840: Allow returning from require https://bugs.ruby-lang.org/issues/4840#change-39220 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/