#1256, documentation typo

This commit is contained in:
Jeremy Ashkenas
2011-04-26 20:46:07 -04:00
parent 5e1aadba80
commit b13bef7f45

View File

@@ -542,7 +542,7 @@ Expressions
<b class="header">Array Slicing and Splicing with Ranges</b>
Ranges can also be used to extract slices of arrays.
With two dots (<tt>3..6</tt>), the range is inclusive (<tt>3, 4, 5, 6</tt>);
with three docs (<tt>3...6</tt>), the range excludes the end (<tt>3, 4, 5</tt>).
with three dots (<tt>3...6</tt>), the range excludes the end (<tt>3, 4, 5</tt>).
</p>
<%= code_for('slices', 'middle') %>
<p>