aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/string/output_safety.rb
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-05-11 16:21:32 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-05-11 16:21:32 -0500
commitef440bb0c3378a04300c592ec8432d26afc6ad1d (patch)
tree51293cc6aa193700dfeff82926cf9feec534da4b /activesupport/lib/active_support/core_ext/string/output_safety.rb
parentf915c2899fe287aec721b75b1f04ebe50d024634 (diff)
downloadrails-ef440bb0c3378a04300c592ec8432d26afc6ad1d.tar.gz
rails-ef440bb0c3378a04300c592ec8432d26afc6ad1d.tar.bz2
rails-ef440bb0c3378a04300c592ec8432d26afc6ad1d.zip
remove unnecessary 'examples' noise
Diffstat (limited to 'activesupport/lib/active_support/core_ext/string/output_safety.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/string/output_safety.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/output_safety.rb b/activesupport/lib/active_support/core_ext/string/output_safety.rb
index 215ba87ca9..6bda970e40 100644
--- a/activesupport/lib/active_support/core_ext/string/output_safety.rb
+++ b/activesupport/lib/active_support/core_ext/string/output_safety.rb
@@ -14,7 +14,6 @@ class ERB
# In your ERB templates, use this method to escape any unsafe content. For example:
# <%=h @person.name %>
#
- # ==== Example:
# puts html_escape('is a > 0 & a < 10?')
# # => is a &gt; 0 &amp; a &lt; 10?
def html_escape(s)
@@ -37,7 +36,6 @@ class ERB
# A utility method for escaping HTML without affecting existing escaped entities.
#
- # ==== Examples
# html_escape_once('1 < 2 &amp; 3')
# # => "1 &lt; 2 &amp; 3"
#