diff --git a/file.c b/file.c index 835f19e541..64fc22960f 100644 --- a/file.c +++ b/file.c @@ -5326,16 +5326,12 @@ rb_thread_flock(void *data) * Returns `false` if `File::LOCK_NB` is specified and the operation would have blocked; * otherwise returns `0`. * - *
- * * | Constant | Lock | Effect - * |-----------------|--------------|------------------------------------------------------------------- - * | +File::LOCK_EX+ | Exclusive | Only one process may hold an exclusive lock for +self+ at a time. - * | +File::LOCK_NB+ | Non-blocking | No blocking; may be combined with +File::LOCK_SH+ or +File::LOCK_EX+ using the bitwise OR operator \|. - * | +File::LOCK_SH+ | Shared | Multiple processes may each hold a shared lock for +self+ at the same time. - * | +File::LOCK_UN+ | Unlock | Remove an existing lock held by this process. - * - *
+ * |-----------------|--------------|-----------------------------------------------------------------------------------------------------------------| + * | +File::LOCK_EX+ | Exclusive | Only one process may hold an exclusive lock for +self+ at a time. | + * | +File::LOCK_NB+ | Non-blocking | No blocking; may be combined with +File::LOCK_SH+ or +File::LOCK_EX+ using the bitwise OR operator \|. | + * | +File::LOCK_SH+ | Shared | Multiple processes may each hold a shared lock for +self+ at the same time. | + * | +File::LOCK_UN+ | Unlock | Remove an existing lock held by this process. | * * Example: * diff --git a/numeric.c b/numeric.c index 0e40c7de05..341d560d49 100644 --- a/numeric.c +++ b/numeric.c @@ -5805,8 +5805,6 @@ int_floor(int argc, VALUE* argv, VALUE num) * | -4 | 10000 | 10000 | * | -5 | 100000 | 100000 | * - *
- * * Examples with negative `self`: * * | ndigits | Granularity | -1234.ceil(ndigits) | @@ -5817,8 +5815,6 @@ int_floor(int argc, VALUE* argv, VALUE num) * | -4 | 10000 | 0 | * | -5 | 100000 | 0 | * - *
- * * Related: Integer#floor. */