Skip to content

Commit

Permalink
Int is not a class in Ruby (#1575)
Browse files Browse the repository at this point in the history
Update to read `Integer` for Range concept.
  • Loading branch information
kotp authored Sep 21, 2023
1 parent 0bd0922 commit 320b0f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion concepts/ranges/about.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Ranges

[Ranges][range] represent an interval between two values.
The most common types that support ranges are `Int` and `String`.
The most common types that support ranges are `Integer` and `String`.
They can be used for many things like quickly creating a collection, slicing strings, checking if a value is in a range, and iteration.
They are created using the range operator `..` or `...` (inclusive and exclusive, respectively).

Expand Down
2 changes: 1 addition & 1 deletion concepts/ranges/introduction.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Ranges

[Ranges][range] represent an interval between two values.
The most common types that support ranges are `Int` and `String`.
The most common types that support ranges are `Integer` and `String`.
They can be used for many things like quickly creating a collection, slicing strings, checking if a value is in a range, and iteration.
They are created using the range operator `..` or `...` (inclusive and exclusive, respectively).

Expand Down

0 comments on commit 320b0f7

Please sign in to comment.