Browse files

More symbols for send and respond_to?.

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information...
1 parent abebdf5 commit a978701f86609020eefae8cb1728ac73904234be @clemens clemens committed with jeremy Sep 2, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/text_helper.rb
View
2 actionpack/lib/action_view/helpers/text_helper.rb
@@ -298,7 +298,7 @@ def textilize(text)
""
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

0 comments on commit a978701

Please sign in to comment.