Project

General

Profile

Feature #4840

Updated by nobu (Nobuyoshi Nakada) over 10 years ago

I have a situation where there is some code in Gitorious like: 

 ~~~ruby 
 unless defined? GitoriousConfig 
   # tons of lines here 
 end 
 ~~~ 

 And I would it to look like 

 ~~~ruby 
 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)

Back