[DOC] Fix wrong call-seq format (#12662)

This commit is contained in:
tomoya ishida 2025-01-29 21:53:00 +09:00 committed by GitHub
parent e01b4ca1c8
commit 2d3d7a74e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
Notes: git 2025-01-29 12:53:17 +00:00
Merged-By: tompng <tomoyapenguin@gmail.com>
3 changed files with 4 additions and 8 deletions

1
file.c
View File

@ -5679,7 +5679,6 @@ rb_stat_s_alloc(VALUE klass)
/*
* call-seq:
*
* File::Stat.new(file_name) -> stat
*
* Create a File::Stat object for the given file name (raising an

3
time.c
View File

@ -5700,7 +5700,6 @@ time_load(VALUE klass, VALUE str)
/*
* call-seq:
*
* Time::tm.from_time(t) -> tm
*
* Creates new Time::tm object from a Time object.
@ -5731,7 +5730,6 @@ tm_from_time(VALUE klass, VALUE time)
/*
* call-seq:
*
* Time::tm.new(year, month=nil, day=nil, hour=nil, min=nil, sec=nil, zone=nil) -> tm
*
* Creates new Time::tm object.
@ -5755,7 +5753,6 @@ tm_initialize(int argc, VALUE *argv, VALUE time)
}
/* call-seq:
*
* tm.to_time -> time
*
* Returns a new Time object.