* 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
@ -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>
|
Mon Jul 18 21:39:18 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||||
|
|
||||||
* eval.c (rb_call0): make the pointer to NODE volatile
|
* eval.c (rb_call0): make the pointer to NODE volatile
|
||||||
|
@ -918,6 +918,7 @@ end
|
|||||||
#string(value).to_s
|
#string(value).to_s
|
||||||
_value
|
_value
|
||||||
end
|
end
|
||||||
|
alias string to_s
|
||||||
def element_to_s(*idxs)
|
def element_to_s(*idxs)
|
||||||
_element_value(*idxs)
|
_element_value(*idxs)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user