summaryrefslogtreecommitdiff
path: root/numeric.rb
diff options
context:
space:
mode:
-rw-r--r--numeric.rb23
1 files changed, 23 insertions, 0 deletions
@@ -217,6 +217,29 @@ class Integer
Primitive.cexpr! 'rb_int_size(self)'
end
# call-seq:
# to_i -> self
#