Skip to content

Commit e648ccd

Browse files
authored
Add documentation for method new in Range (#4676)
1 parent cfd86f8 commit e648ccd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/Type/Range.rakudoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@ with the exception. It will print C<Value> by default.
116116

117117
=head1 Methods
118118

119+
=head2 method new
120+
121+
multi method new(Range: \min, \max, :$excludes-min, :$excludes-max)
122+
123+
Creates a new Range with the given minimum and maximum, and with the min and
124+
max excluded based on the values passed in the corresponding named arguments.
119125

120126
=head2 method ACCEPTS
121127

0 commit comments

Comments
 (0)