diff options
author | Vipul A M <vipulnsward@gmail.com> | 2013-04-13 13:19:54 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2013-04-13 13:19:54 +0530 |
commit | 7ecaa0057c6bf653da8a9781454da1dfdc20f143 (patch) | |
tree | 8f5ad58aae44b7e6ac35f4e97dbe50ada7df3c1c /guides/rails_guides | |
parent | 481618cfc20faf980e0e238ffa1a9d192b51d00b (diff) | |
download | rails-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.rb | 2 |
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' |