Project

General

Profile

Bug #9726

Updated by nobu (Nobuyoshi Nakada) about 10 years ago

There seems to be issue in parsing with white space: 

 The code below works: 

 ~~~ruby 
 proc_issue (Proc.new { |n| 
   "Do something" 
 }) 
 ~~~ 

 That code causing parsing error (removing white space makes it working `proc_issue` (`Proc`..) 

 ~~~ruby proc_issue (Proc..) 
 proc_issue (Proc.new do |n| 
   "Do something" 
 end) 
 ~~~ 

 



Back