More symbols for send and respond_to?.

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
This commit is contained in:
Clemens Kofler
2008-09-02 10:02:18 +02:00
committed by Jeremy Kemper
parent abebdf52a3
commit a978701f86

View File

@@ -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