diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-28 15:19:56 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-28 15:19:56 +0000 |
commit | 46f6b2026802fcd227beaac78c8d29378a96dceb (patch) | |
tree | a0a8dee81799b7e8982387ff12dd7baded9dfa09 /lib/rss/utils.rb | |
parent | 202bf6618f39f48e81b7bb3c67114a22c2eeda16 (diff) | |
download | ruby-46f6b2026802fcd227beaac78c8d29378a96dceb.tar.gz |
* lib/rss: rss/parser.rb is always required.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/utils.rb')
-rw-r--r-- | lib/rss/utils.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rss/utils.rb b/lib/rss/utils.rb index 32940cf2a8..cd0f9da739 100644 --- a/lib/rss/utils.rb +++ b/lib/rss/utils.rb @@ -9,10 +9,10 @@ module RSS [file, line] end - def html_escape(s) - s.to_s.gsub(/&/, "&").gsub(/\"/, """).gsub(/>/, ">").gsub(/</, "<") - end - alias h html_escape + def html_escape(s) + s.to_s.gsub(/&/, "&").gsub(/\"/, """).gsub(/>/, ">").gsub(/</, "<") + end + alias h html_escape end |