mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Small fixes for documentation rendering
Mostly just fixing RDoc's incorrect treatment of `+`
This commit is contained in:
parent
1cbe114d1c
commit
07734b51c6
4 changed files with 18 additions and 18 deletions
12
cont.c
12
cont.c
|
@ -3272,18 +3272,18 @@ rb_fiber_m_raise(int argc, VALUE *argv, VALUE self)
|
|||
* call-seq:
|
||||
* fiber.kill -> nil
|
||||
*
|
||||
* Terminates +fiber+ by raising an uncatchable exception.
|
||||
* It only terminates the given Fiber and no other Fiber, returning +nil+ to
|
||||
* another Fiber if that Fiber was calling +fiber.resume+ or +fiber.transfer+.
|
||||
* Terminates the fiber by raising an uncatchable exception.
|
||||
* It only terminates the given fiber and no other fiber, returning +nil+ to
|
||||
* another fiber if that fiber was calling #resume or #transfer.
|
||||
*
|
||||
* +Fiber#kill+ only interrupts another Fiber when it is in +Fiber.yield+.
|
||||
* If called on the current Fiber then it raises that exception at the +Fiber#kill+ call site.
|
||||
* <tt>Fiber#kill</tt> only interrupts another fiber when it is in Fiber.yield.
|
||||
* If called on the current fiber then it raises that exception at the <tt>Fiber#kill</tt> call site.
|
||||
*
|
||||
* If the fiber has not been started, transition directly to the terminated state.
|
||||
*
|
||||
* If the fiber is already terminated, does nothing.
|
||||
*
|
||||
* Raises +FiberError+ if called on a Fiber belonging to another +Thread+.
|
||||
* Raises FiberError if called on a fiber belonging to another thread.
|
||||
*/
|
||||
static VALUE
|
||||
rb_fiber_m_kill(VALUE self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue