mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (rb_mod_define_method): should have clear method cache.
* eval.c (rb_mod_define_method): should have raised exception for type error. * ruby.h: changed "extern INLINE" to "static inline". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
97101e1a65
commit
b0cc7e80a6
10 changed files with 140 additions and 42 deletions
|
@ -189,6 +189,14 @@ class TkText<TkTextWin
|
|||
}
|
||||
end
|
||||
|
||||
def mark_next(index)
|
||||
tagid2obj(tk_send('mark', 'next', index))
|
||||
end
|
||||
|
||||
def mark_previous(index)
|
||||
tagid2obj(tk_send('mark', 'previous', index))
|
||||
end
|
||||
|
||||
def window_names
|
||||
tk_send('window', 'names').collect{|elt|
|
||||
tagid2obj(elt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue