summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-17 21:07:46 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-17 21:07:46 +0000
commit914efd0b60acc061b161faa4ebb8bce528793384 (patch)
tree309d77e8144ea771734c9ffd32ac602615fd34b1 /time.c
parent410ae9d41bc12e5de6d870498ae37d142a6af673 (diff)
* proc.c (proc_lambda, unnamed_parameters): Small documentation fixes.
* re.c: ditto * string.c: ditto * time.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/time.c b/time.c
index 5896af8a2b..7a1fb48dfc 100644
--- a/time.c
+++ b/time.c
@@ -2117,13 +2117,7 @@ time_init_1(int argc, VALUE *argv, VALUE time)
/*
* call-seq:
* Time.new -> time
- * Time.new(year) -> time
- * Time.new(year, month) -> time
- * Time.new(year, month, day) -> time
- * Time.new(year, month, day, hour) -> time
- * Time.new(year, month, day, hour, min) -> time
- * Time.new(year, month, day, hour, min, sec) -> time
- * Time.new(year, month, day, hour, min, sec, utc_offset) -> time
+ * Time.new(year, month=nil, day=nil, hour=nil, min=nil, sec=nil, utc_offset=nil) -> time
*
* Returns a <code>Time</code> object.
*
@@ -3089,7 +3083,7 @@ time_to_f(VALUE time)
/*
* call-seq:
- * time.to_r -> Rational
+ * time.to_r -> a_rational
*
* Returns the value of <i>time</i> as a rational number of seconds
* since the Epoch.