mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Merge -r16241:16456 from ruby_1_8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
32378c5abe
commit
8480bcc8d5
64 changed files with 5134 additions and 851 deletions
|
|
@ -31,6 +31,7 @@ class Tk::Iwidgets::Hierarchy
|
|||
KEY_TBL = [ [?n, ?s, :node], nil ]
|
||||
PROC_TBL = [ [?s, TkComm.method(:string) ], nil ]
|
||||
|
||||
=begin
|
||||
# for Ruby m17n :: ?x --> String --> char-code ( getbyte(0) )
|
||||
KEY_TBL.map!{|inf|
|
||||
if inf.kind_of?(Array)
|
||||
|
|
@ -46,6 +47,7 @@ class Tk::Iwidgets::Hierarchy
|
|||
end
|
||||
inf
|
||||
}
|
||||
=end
|
||||
|
||||
_setup_subst_table(KEY_TBL, PROC_TBL);
|
||||
|
||||
|
|
@ -74,6 +76,7 @@ class Tk::Iwidgets::Hierarchy
|
|||
nil
|
||||
]
|
||||
|
||||
=begin
|
||||
# for Ruby m17n :: ?x --> String --> char-code ( getbyte(0) )
|
||||
KEY_TBL.map!{|inf|
|
||||
if inf.kind_of?(Array)
|
||||
|
|
@ -89,6 +92,7 @@ class Tk::Iwidgets::Hierarchy
|
|||
end
|
||||
inf
|
||||
}
|
||||
=end
|
||||
|
||||
_setup_subst_table(KEY_TBL, PROC_TBL);
|
||||
|
||||
|
|
@ -112,6 +116,7 @@ class Tk::Iwidgets::Hierarchy
|
|||
]
|
||||
PROC_TBL = [ [ ?s, TkComm.method(:string) ], nil ]
|
||||
|
||||
=begin
|
||||
# for Ruby m17n :: ?x --> String --> char-code ( getbyte(0) )
|
||||
KEY_TBL.map!{|inf|
|
||||
if inf.kind_of?(Array)
|
||||
|
|
@ -127,6 +132,7 @@ class Tk::Iwidgets::Hierarchy
|
|||
end
|
||||
inf
|
||||
}
|
||||
=end
|
||||
|
||||
_setup_subst_table(KEY_TBL, PROC_TBL);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue