summaryrefslogtreecommitdiffstats
path: root/software
diff options
context:
space:
mode:
Diffstat (limited to 'software')
-rw-r--r--software/ruby.page2
1 files changed, 2 insertions, 0 deletions
diff --git a/software/ruby.page b/software/ruby.page
index 662d934..4f6d40c 100644
--- a/software/ruby.page
+++ b/software/ruby.page
@@ -24,7 +24,9 @@ order data type.
Ranges
----------
+
::
+
2..7 # => 2..7
(2..7).to_a # => [2, 3, 4, 5, 6, 7]
(2...7).to_a # => [2, 3, 4, 5, 6]