mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (Init_Binding): add Binding#dup method. [yarv-dev:666]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ec12edb11c
commit
68b062d402
2 changed files with 13 additions and 14 deletions
26
ChangeLog
26
ChangeLog
|
@ -1,22 +1,10 @@
|
|||
Sat Oct 8 19:45:16 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Sat Oct 8 19:49:42 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/scanf.rb (Scanf::FormatSpecifier#letter, #width): use matched
|
||||
substring directly.
|
||||
|
||||
* ext/nkf/lib/kconv.rb (Kconv.conv): get rid of nil.to_a.
|
||||
|
||||
* test/ruby/test_assignment.rb, test/ruby/test_iterator.rb: followed
|
||||
change of sample/test.rb.
|
||||
|
||||
* test/net/http/test_http.rb: removed superfluous splatting stars.
|
||||
|
||||
Sat Oct 8 19:32:56 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
* eval.c (Init_Binding): add Binding#dup method. [yarv-dev:666]
|
||||
|
||||
* io.c (rb_io_init_copy): clear PREP flag for copied IO.
|
||||
fixed: [ruby-dev:27371]
|
||||
|
||||
Sat Oct 8 19:15:02 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (rb_parser_malloc, rb_parser_free): manage parser stack on
|
||||
heap. [ruby-list:41199]
|
||||
|
||||
|
@ -26,6 +14,16 @@ Sat Oct 8 19:15:02 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|||
|
||||
* ext/iconv/charset_alias.rb: parse config.charset_alias file directly.
|
||||
|
||||
* ext/nkf/lib/kconv.rb (Kconv.conv): get rid of nil.to_a.
|
||||
|
||||
* lib/scanf.rb (Scanf::FormatSpecifier#letter, #width): use matched
|
||||
substring directly.
|
||||
|
||||
* test/ruby/test_assignment.rb, test/ruby/test_iterator.rb: followed
|
||||
change of sample/test.rb.
|
||||
|
||||
* test/net/http/test_http.rb: removed superfluous splatting stars.
|
||||
|
||||
Thu Oct 6 20:10:38 2005 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* ext/strscan/strscan.c (strscan_free): remove useless code.
|
||||
|
|
1
eval.c
1
eval.c
|
@ -9392,6 +9392,7 @@ Init_Binding(void)
|
|||
rb_undef_alloc_func(rb_cBinding);
|
||||
rb_undef_method(CLASS_OF(rb_cBinding), "new");
|
||||
rb_define_method(rb_cBinding, "clone", proc_clone, 0);
|
||||
rb_define_method(rb_cBinding, "dup", proc_dup, 0);
|
||||
rb_define_method(rb_cBinding, "eval", bind_eval, -1);
|
||||
rb_define_global_function("binding", rb_f_binding, 0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue