mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/irb/workspace.rb: define method to private on top-level irb
[Bug #5776]. Patch by davidbalbert. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2f345f9de6
commit
6dab48b20e
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Dec 25 19:22:17 2012 Keiju Ishitsuka <keiju@ishitsuka.com>
|
||||||
|
|
||||||
|
* lib/irb/workspace.rb: define method to private on top-level irb
|
||||||
|
[Bug #5776]. Patch by davidbalbert.
|
||||||
|
|
||||||
Tue Dec 25 19:09:51 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
Tue Dec 25 19:09:51 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* bignum.c, include/ruby/intern.h (rb_big_eql): exported.
|
* bignum.c, include/ruby/intern.h (rb_big_eql): exported.
|
||||||
|
|
|
@ -50,7 +50,7 @@ EOF
|
||||||
@binding = BINDING_QUEUE.pop
|
@binding = BINDING_QUEUE.pop
|
||||||
|
|
||||||
when 3 # binging in function on TOPLEVEL_BINDING(default)
|
when 3 # binging in function on TOPLEVEL_BINDING(default)
|
||||||
@binding = eval("def irb_binding; binding; end; irb_binding",
|
@binding = eval("def irb_binding; private; binding; end; irb_binding",
|
||||||
TOPLEVEL_BINDING,
|
TOPLEVEL_BINDING,
|
||||||
__FILE__,
|
__FILE__,
|
||||||
__LINE__ - 3)
|
__LINE__ - 3)
|
||||||
|
|
Loading…
Add table
Reference in a new issue