aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Rushakoff <mark.rushakoff@gmail.com>2012-05-16 22:48:30 -0700
committerMark Rushakoff <mark.rushakoff@gmail.com>2012-05-16 22:48:30 -0700
commit32f3c272b811b3d19518a6cb407901f0482c5cf9 (patch)
tree8b141fbcafe09c2f95f0e1015a89905dd5e095c8
parent6a1290064de328f427f423a2060cd135285fa77a (diff)
downloadrails-32f3c272b811b3d19518a6cb407901f0482c5cf9.tar.gz
rails-32f3c272b811b3d19518a6cb407901f0482c5cf9.tar.bz2
rails-32f3c272b811b3d19518a6cb407901f0482c5cf9.zip
Fix some code formatting in core_ext guide
[ci skip] <plus> is nonstandard Textile; RailsGuides::TextileExtensions::plusplus is the method that causes multiple code-formatted `+` symbols to generate crap like <code>1 <notextile><tt>+</tt></notextile> 2 ...</code> instead of the expected output: <code>1 + 2 ...</code>
-rw-r--r--guides/source/active_support_core_extensions.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_support_core_extensions.textile b/guides/source/active_support_core_extensions.textile
index 393d09b7af..80da1110d7 100644
--- a/guides/source/active_support_core_extensions.textile
+++ b/guides/source/active_support_core_extensions.textile
@@ -1819,7 +1819,7 @@ NOTE: Defined in +active_support/core_ext/numeric/bytes.rb+.
h4. Time
-Enables the use of time calculations and declarations, like 45.minutes + 2.hours + 4.years.
+Enables the use of time calculations and declarations, like @45.minutes <plus> 2.hours <plus> 4.years@.
These methods use Time#advance for precise date calculations when using from_now, ago, etc.
as well as adding or subtracting their results from a Time object. For example: