mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/tk/lib/tk/variable.rb: For symmetry, add TkVariable#string. It
returns a string even if the default value type of the TkVariable object is not "string". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
50d6cae212
commit
4826eaecf6
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue Jul 19 13:19:46 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/tk/variable.rb: For symmetry, add TkVariable#string. It
|
||||
returns a string even if the default value type of the TkVariable
|
||||
object is not "string".
|
||||
|
||||
Mon Jul 18 21:39:18 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* eval.c (rb_call0): make the pointer to NODE volatile
|
||||
|
|
|
@ -918,6 +918,7 @@ end
|
|||
#string(value).to_s
|
||||
_value
|
||||
end
|
||||
alias string to_s
|
||||
def element_to_s(*idxs)
|
||||
_element_value(*idxs)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue