mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	vm_eval.c: fix rb_eval_string_wrap rdoc
				
					
				
			* vm_eval.c (rb_eval_string_wrap): [DOC] Fix `rb_eval_string_wrap` documentation. It is referencing `require` instead of `load`. The former does not have the optional argument. [Fix GH-779] [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									428791543b
								
							
						
					
					
						commit
						3992aaa36c
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,9 @@
 | 
			
		|||
Tue Dec  9 12:48:32 2014  Josef Simanek  <josef.simanek@gmail.com>
 | 
			
		||||
 | 
			
		||||
	* vm_eval.c (rb_eval_string_wrap): [DOC] Fix `rb_eval_string_wrap`
 | 
			
		||||
	  documentation.  It is referencing `require` instead of `load`.
 | 
			
		||||
	  The former does not have the optional argument.  [Fix GH-779]
 | 
			
		||||
 | 
			
		||||
Tue Dec  9 10:16:24 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* eval.c (rb_frame_last_func): return the most recent frame method
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1442,7 +1442,7 @@ rb_eval_string_protect(const char *str, int *state)
 | 
			
		|||
 | 
			
		||||
/**
 | 
			
		||||
 * Evaluates the given string under a module binding in an isolated binding.
 | 
			
		||||
 * This is same as the binding for required libraries on "require('foo', true)".
 | 
			
		||||
 * This is same as the binding for loaded libraries on "load('foo', true)".
 | 
			
		||||
 *
 | 
			
		||||
 * __FILE__ will be "(eval)", and __LINE__ starts from 1 in the evaluation.
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue