aboutsummaryrefslogtreecommitdiffstats
path: root/guides/rails_guides
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-04-13 13:19:54 +0530
committerVipul A M <vipulnsward@gmail.com>2013-04-13 13:19:54 +0530
commit7ecaa0057c6bf653da8a9781454da1dfdc20f143 (patch)
tree8f5ad58aae44b7e6ac35f4e97dbe50ada7df3c1c /guides/rails_guides
parent481618cfc20faf980e0e238ffa1a9d192b51d00b (diff)
downloadrails-7ecaa0057c6bf653da8a9781454da1dfdc20f143.tar.gz
rails-7ecaa0057c6bf653da8a9781454da1dfdc20f143.tar.bz2
rails-7ecaa0057c6bf653da8a9781454da1dfdc20f143.zip
remove unused variable
Diffstat (limited to 'guides/rails_guides')
-rw-r--r--guides/rails_guides/markdown/renderer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/rails_guides/markdown/renderer.rb b/guides/rails_guides/markdown/renderer.rb
index c3fe5b8799..2eb7ca17a3 100644
--- a/guides/rails_guides/markdown/renderer.rb
+++ b/guides/rails_guides/markdown/renderer.rb
@@ -65,7 +65,7 @@ HTML
# if a bulleted list follows the first item is not rendered
# as a list item, but as a paragraph starting with a plain
# asterisk.
- body.gsub(/^(TIP|IMPORTANT|CAUTION|WARNING|NOTE|INFO|TODO)[.:](.*?)(\n(?=\n)|\Z)/m) do |m|
+ body.gsub(/^(TIP|IMPORTANT|CAUTION|WARNING|NOTE|INFO|TODO)[.:](.*?)(\n(?=\n)|\Z)/m) do
css_class = case $1
when 'CAUTION', 'IMPORTANT'
'warning'