aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
authorClemens Kofler <clemens@railway.at>2008-09-02 10:02:18 +0200
committerJeremy Kemper <jeremy@bitsweat.net>2008-09-03 00:55:22 +0200
commita978701f86609020eefae8cb1728ac73904234be (patch)
treef19f9dfbe9144a61272589cc2a18c60bacaa1bc9 /actionpack/lib/action_view
parentabebdf52a3b1db58b9abf9774fa87271d480133a (diff)
downloadrails-a978701f86609020eefae8cb1728ac73904234be.tar.gz
rails-a978701f86609020eefae8cb1728ac73904234be.tar.bz2
rails-a978701f86609020eefae8cb1728ac73904234be.zip
More symbols for send and respond_to?.
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r--actionpack/lib/action_view/helpers/text_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/text_helper.rb b/actionpack/lib/action_view/helpers/text_helper.rb
index a5d43b90f4..06f8226229 100644
--- a/actionpack/lib/action_view/helpers/text_helper.rb
+++ b/actionpack/lib/action_view/helpers/text_helper.rb
@@ -298,7 +298,7 @@ module ActionView
""
else
textilized = RedCloth.new(text, [ :hard_breaks ])
- textilized.hard_breaks = true if textilized.respond_to?("hard_breaks=")
+ textilized.hard_breaks = true if textilized.respond_to?(:hard_breaks=)
textilized.to_html
end
end