Skip to content

Commit 0222af8

Browse files
authored
Merge pull request #2846 from ksss/rubocop-on-rbs-1.9.1
Update rubocop-on-rbs to v1.9.1
2 parents bffff91 + f38e416 commit 0222af8

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ GEM
160160
rubocop-ast (1.49.0)
161161
parser (>= 3.3.7.2)
162162
prism (~> 1.7)
163-
rubocop-on-rbs (1.9.0)
163+
rubocop-on-rbs (1.9.1)
164164
lint_roller (~> 1.1)
165165
rbs (~> 3.5)
166166
rubocop (>= 1.72.1, < 2.0)

stdlib/bigdecimal/0/big_decimal.rbs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@ class Integer
12781278
# 4 / Complex(3, 0) # => ((4/3)+0i)
12791279
#
12801280
def /: (BigDecimal) -> BigDecimal
1281-
| ...
1281+
| ...
12821282

12831283
# <!--
12841284
# rdoc-file=numeric.c
@@ -1294,7 +1294,7 @@ class Integer
12941294
# 4 * Complex(2, 0) # => (8+0i)
12951295
#
12961296
def *: (BigDecimal) -> BigDecimal
1297-
| ...
1297+
| ...
12981298

12991299
# <!--
13001300
# rdoc-file=numeric.c
@@ -1314,7 +1314,7 @@ class Integer
13141314
# 1 + 3.14 # => 4.140000000000001
13151315
#
13161316
def +: (BigDecimal) -> BigDecimal
1317-
| ...
1317+
| ...
13181318

13191319
# <!--
13201320
# rdoc-file=numeric.c
@@ -1330,7 +1330,7 @@ class Integer
13301330
# 4 - Complex(2, 0) # => (2+0i)
13311331
#
13321332
def -: (BigDecimal) -> BigDecimal
1333-
| ...
1333+
| ...
13341334
end
13351335

13361336
%a{annotate:rdoc:skip}
@@ -1369,7 +1369,7 @@ class Float
13691369
# f / Complex(2, 0) # => (1.57+0.0i)
13701370
#
13711371
def /: (BigDecimal) -> BigDecimal
1372-
| ...
1372+
| ...
13731373

13741374
# <!--
13751375
# rdoc-file=numeric.c
@@ -1384,7 +1384,7 @@ class Float
13841384
# f * Complex(2, 0) # => (6.28+0.0i)
13851385
#
13861386
def *: (BigDecimal) -> BigDecimal
1387-
| ...
1387+
| ...
13881388

13891389
# <!--
13901390
# rdoc-file=numeric.c
@@ -1404,7 +1404,7 @@ class Float
14041404
# 3.14 + Rational(1, 1) # => 4.140000000000001
14051405
#
14061406
def +: (BigDecimal) -> BigDecimal
1407-
| ...
1407+
| ...
14081408

14091409
# <!--
14101410
# rdoc-file=numeric.c
@@ -1419,7 +1419,7 @@ class Float
14191419
# f - Complex(1, 0) # => (2.14+0i)
14201420
#
14211421
def -: (BigDecimal) -> BigDecimal
1422-
| ...
1422+
| ...
14231423
end
14241424

14251425
%a{annotate:rdoc:skip}
@@ -1476,7 +1476,7 @@ class Rational
14761476
# Rational(20, 9) / 9.8 #=> 0.22675736961451246
14771477
#
14781478
def /: (BigDecimal) -> BigDecimal
1479-
| ...
1479+
| ...
14801480

14811481
# <!--
14821482
# rdoc-file=rational.c
@@ -1492,7 +1492,7 @@ class Rational
14921492
# Rational(-2, 9) * Rational(-9, 2) #=> (1/1)
14931493
#
14941494
def *: (BigDecimal) -> BigDecimal
1495-
| ...
1495+
| ...
14961496

14971497
# <!--
14981498
# rdoc-file=rational.c
@@ -1517,7 +1517,7 @@ class Rational
15171517
# Rational(2, 3) + Complex(1.0, 0.0) # => (1.6666666666666665+0.0i)
15181518
#
15191519
def +: (BigDecimal) -> BigDecimal
1520-
| ...
1520+
| ...
15211521

15221522
# <!--
15231523
# rdoc-file=rational.c
@@ -1532,7 +1532,7 @@ class Rational
15321532
# Rational(20, 9) - 9.8 #=> -7.577777777777778
15331533
#
15341534
def -: (BigDecimal) -> BigDecimal
1535-
| ...
1535+
| ...
15361536
end
15371537

15381538
%a{annotate:rdoc:skip}
@@ -1571,7 +1571,7 @@ class Complex
15711571
# Complex.rect(20, 9) / 9.8 # => (2.0408163265306123+0.9183673469387754i)
15721572
#
15731573
def /: (BigDecimal) -> Complex
1574-
| ...
1574+
| ...
15751575

15761576
# <!--
15771577
# rdoc-file=complex.c
@@ -1587,7 +1587,7 @@ class Complex
15871587
# Complex.rect(9, 8) * Rational(2, 3) # => ((6/1)+(16/3)*i)
15881588
#
15891589
def *: (BigDecimal) -> Complex
1590-
| ...
1590+
| ...
15911591

15921592
# <!--
15931593
# rdoc-file=complex.c
@@ -1612,7 +1612,7 @@ class Complex
16121612
# Complex(1, 2) + 3.14 # => (4.140000000000001+2i)
16131613
#
16141614
def +: (BigDecimal) -> Complex
1615-
| ...
1615+
| ...
16161616

16171617
# <!--
16181618
# rdoc-file=complex.c
@@ -1627,7 +1627,7 @@ class Complex
16271627
# Complex.rect(20, 9) - 9.8 # => (10.2+9i)
16281628
#
16291629
def -: (BigDecimal) -> Complex
1630-
| ...
1630+
| ...
16311631
end
16321632

16331633
%a{annotate:rdoc:skip}

0 commit comments

Comments
 (0)