summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-01-24 10:40:46 +0000
committerUser <bnewbold@daemon.robocracy.org>2010-01-24 10:40:46 +0000
commit6bd464ce4a052c8400f02858979a3ac8fb5998b2 (patch)
treeadd8c989b5d6635a9b5c13486bfd36493172a119
parenteb1b5f46524cae6471fc2398abf778f64fecd7c2 (diff)
downloadknowledge-6bd464ce4a052c8400f02858979a3ac8fb5998b2.tar.gz
knowledge-6bd464ce4a052c8400f02858979a3ac8fb5998b2.zip
fix
-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]