summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'time.c')
-rw-r--r--time.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/time.c b/time.c
index 59237f151b..c48bc3bcfc 100644
--- a/time.c
+++ b/time.c
@@ -1917,20 +1917,6 @@ time_strftime(VALUE time, VALUE format)
}
/*
- * call-seq:
- * Time.times => struct_tms
- *
- * Deprecated in favor of <code>Process::times</code>
- */
-
-static VALUE
-time_s_times(VALUE obj)
-{
- rb_warn("obsolete method Time::times; use Process::times");
- return rb_proc_times(obj);
-}
-
-/*
* undocumented
*/
@@ -2100,8 +2086,6 @@ Init_Time(void)
rb_define_singleton_method(rb_cTime, "local", time_s_mktime, -1);
rb_define_singleton_method(rb_cTime, "mktime", time_s_mktime, -1);
- rb_define_singleton_method(rb_cTime, "times", time_s_times, 0);
-
rb_define_method(rb_cTime, "to_i", time_to_i, 0);
rb_define_method(rb_cTime, "to_f", time_to_f, 0);
rb_define_method(rb_cTime, "<=>", time_cmp, 1);