[前][次][番号順一覧][スレッド一覧]

ruby-changes:72388

From: BurdetteLamar <ko1@a...>
Date: Sat, 2 Jul 2022 07:58:33 +0900 (JST)
Subject: [ruby-changes:72388] 06f4ca503d (master): [ruby/bigdecimal] Correct indentation in Kernel#BigDecimal

https://git.ruby-lang.org/ruby.git/commit/?id=06f4ca503d

From 06f4ca503d7106d357eb6af9da4fdd368fbff25a Mon Sep 17 00:00:00 2001
From: BurdetteLamar <BurdetteLamar@Y...>
Date: Sat, 23 Apr 2022 14:45:08 -0500
Subject: [ruby/bigdecimal] Correct indentation in Kernel#BigDecimal

https://github.com/ruby/bigdecimal/commit/3ede8860a6
---
 ext/bigdecimal/bigdecimal.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index 97510fad86..b3ef70a2c9 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -3493,12 +3493,12 @@ rb_convert_to_BigDecimal(VALUE val, size_t digs, int raise_exception) https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L3493
  *    BigDecimal(value, exception: true) -> bigdecimal
  *    BigDecimal(value, ndigits, exception: true) -> bigdecimal
  *
- *   Returns the \BigDecimal converted from +value+
- *   with a precision of +ndigits+ decimal digits.
+ *  Returns the \BigDecimal converted from +value+
+ *  with a precision of +ndigits+ decimal digits.
  *
- *   When +ndigits+ is less than the number of significant digits
- *   in the value, the result is rounded to that number of digits,
- *   according to the current rounding mode; see BigDecimal.mode.
+ *  When +ndigits+ is less than the number of significant digits
+ *  in the value, the result is rounded to that number of digits,
+ *  according to the current rounding mode; see BigDecimal.mode.
  *
  *  Returns +value+ converted to a \BigDecimal, depending on the type of +value+:
  *
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]