diff options
| author | BurdetteLamar <burdettelamar@yahoo.com> | 2025-11-25 05:11:52 +0000 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2025-11-28 17:24:13 -0800 |
| commit | 688350dacc4bab436043bd2435fc64633a1408ce (patch) | |
| tree | fb1e7063090680c56f0f3ff6afdda317a0f996cc /numeric.c | |
| parent | 34290048be4a480437bbfff3dc5d8bf93e495d9b (diff) | |
[DOC] Avoid term 'derived'; use 'subclass'
Diffstat (limited to 'numeric.c')
| -rw-r--r-- | numeric.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -595,8 +595,8 @@ num_uminus(VALUE num) * fdiv(other) -> float * * Returns the quotient <tt>self/other</tt> as a float, - * using method +/+ in the derived class of +self+. - * (\Numeric itself does not define method +/+.) + * using method +/+ as defined in the subclass of \Numeric. + * (\Numeric itself does not define +/+.) * * Of the Core and Standard Library classes, * only BigDecimal uses this implementation. @@ -614,8 +614,8 @@ num_fdiv(VALUE x, VALUE y) * div(other) -> integer * * Returns the quotient <tt>self/other</tt> as an integer (via +floor+), - * using method +/+ in the derived class of +self+. - * (\Numeric itself does not define method +/+.) + * using method +/+ as defined in the subclass of \Numeric. + * (\Numeric itself does not define +/+.) * * Of the Core and Standard Library classes, * Only Float and Rational use this implementation. @@ -847,7 +847,8 @@ num_nonzero_p(VALUE num) * to_int -> integer * * Returns +self+ as an integer; - * converts using method +to_i+ in the derived class. + * converts using method +to_i+ in the subclass of \Numeric. + * (\Numeric itself does not define +to_i+.) * * Of the Core and Standard Library classes, * only Rational and Complex use this implementation. |
