summaryrefslogtreecommitdiff
path: root/defs/id.def
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-20 06:28:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-20 06:28:52 +0000
commit6a2ef9d6c30c1f6a641434850ba48ae69f9f23ca (patch)
tree9453983ed5c681e94742c87f8cdd863c40b95e71 /defs/id.def
parenta1305f14ec2ae21ffe274611e31672e783d54305 (diff)
id.def: predefine conversion method IDs
* defs/id.def: predefine conversion method name IDs. * object.c (conv_method_names): consitify with predefined IDs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'defs/id.def')
-rw-r--r--defs/id.def10
1 files changed, 10 insertions, 0 deletions
diff --git a/defs/id.def b/defs/id.def
index 53ed377..90d2e84 100644
--- a/defs/id.def
+++ b/defs/id.def
@@ -26,6 +26,16 @@ firstline, predefined = __LINE__+1, %[\
initialize_copy
initialize_clone
initialize_dup
+ to_int
+ to_ary
+ to_str
+ to_sym
+ to_hash
+ to_proc
+ to_io
+ to_a
+ to_s
+
_ UScore
"/*NULL*/" NULL
empty?