From 32f3c272b811b3d19518a6cb407901f0482c5cf9 Mon Sep 17 00:00:00 2001 From: Mark Rushakoff Date: Wed, 16 May 2012 22:48:30 -0700 Subject: [PATCH] Fix some code formatting in core_ext guide [ci skip] is nonstandard Textile; RailsGuides::TextileExtensions::plusplus is the method that causes multiple code-formatted `+` symbols to generate crap like 1 + 2 ... instead of the expected output: 1 + 2 ... --- guides/source/active_support_core_extensions.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 2.hours 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: