public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
More symbols for send and respond_to?.

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
clemens (author)
Tue Sep 02 01:02:18 -0700 2008
jeremy (committer)
Tue Sep 02 15:55:22 -0700 2008
commit  a978701f86609020eefae8cb1728ac73904234be
tree    f19f9dfbe9144a61272589cc2a18c60bacaa1bc9
parent  abebdf52a3b1db58b9abf9774fa87271d480133a
...
298
299
300
301
 
302
303
304
...
298
299
300
 
301
302
303
304
0
@@ -298,7 +298,7 @@ module ActionView
0
             ""
0
           else
0
             textilized = RedCloth.new(text, [ :hard_breaks ])
0
-            textilized.hard_breaks = true if textilized.respond_to?("hard_breaks=")
0
+            textilized.hard_breaks = true if textilized.respond_to?(:hard_breaks=)
0
             textilized.to_html
0
           end
0
         end

Comments