Project

General

Profile

Feature #6287

Updated by shyouhei (Shyouhei Urabe) over 8 years ago

 
 

 > def test1 
   def test2 
     p "i am test2" 
   end 
   test2 
   end 

 
 >    test1 
   "i am test2"    # ok 

 >    test2    
   "i am test2"    # not ok (imho), this should fail; ie test2 should only be visible by test1, not by outside. 


Back