зеркало из https://github.com/github/ruby.git
* ruby.c (proc_options): should not alter origargv[].
* ruby.c (set_arg0): long strings for $0 dumped core. * ruby.c (set_arg0): use setprogtitle() if it's available. * io.c (rb_io_popen): accept integer flags as mode. * file.c (rb_find_file_ext): extension table can be supplied from outside. renamed. * eval.c (rb_f_require): replace rb_find_file_noext by rb_find_file_ext. * eval.c (rb_provided): should also check feature without extension. * numeric.c (flo_to_s): do not rely on decimal point to be '.' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
50dcbc8cc6
Коммит
c9d1be6327
|
@ -876,7 +876,7 @@ class TkPhotoImage<TkImage
|
|||
|
||||
def cget(option)
|
||||
case option
|
||||
when 'data', 'flie'
|
||||
when 'data', 'file'
|
||||
tk_send 'cget', option
|
||||
else
|
||||
tk_tcl2ruby tk_send 'cget', option
|
||||
|
|
Загрузка…
Ссылка в новой задаче