Skip to content

Commit 1ca0694

Browse files
committed
[DOC] Fix wrong call-seq format
1 parent e01b4ca commit 1ca0694

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

file.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5679,7 +5679,6 @@ rb_stat_s_alloc(VALUE klass)
56795679

56805680
/*
56815681
* call-seq:
5682-
*
56835682
* File::Stat.new(file_name) -> stat
56845683
*
56855684
* Create a File::Stat object for the given file name (raising an

thread.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -884,10 +884,10 @@ thread_create_core(VALUE thval, struct thread_create_params *params)
884884
#define threadptr_initialized(th) ((th)->invoke_type != thread_invoke_type_none)
885885

886886
/*
887-
* call-seq:
888-
* Thread.new { ... } -> thread
889-
* Thread.new(*args, &proc) -> thread
890-
* Thread.new(*args) { |args| ... } -> thread
887+
* call-seq:
888+
* Thread.new { ... } -> thread
889+
* Thread.new(*args, &proc) -> thread
890+
* Thread.new(*args) { |args| ... } -> thread
891891
*
892892
* Creates a new thread executing the given block.
893893
*

time.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5700,7 +5700,6 @@ time_load(VALUE klass, VALUE str)
57005700

57015701
/*
57025702
* call-seq:
5703-
*
57045703
* Time::tm.from_time(t) -> tm
57055704
*
57065705
* Creates new Time::tm object from a Time object.
@@ -5731,7 +5730,6 @@ tm_from_time(VALUE klass, VALUE time)
57315730

57325731
/*
57335732
* call-seq:
5734-
*
57355733
* Time::tm.new(year, month=nil, day=nil, hour=nil, min=nil, sec=nil, zone=nil) -> tm
57365734
*
57375735
* Creates new Time::tm object.
@@ -5755,7 +5753,6 @@ tm_initialize(int argc, VALUE *argv, VALUE time)
57555753
}
57565754

57575755
/* call-seq:
5758-
*
57595756
* tm.to_time -> time
57605757
*
57615758
* Returns a new Time object.

0 commit comments

Comments
 (0)