Skip to content

Commit f62d712

Browse files
committed
Followed up to introduce cgi/escape.rb
1 parent 5ac167a commit f62d712

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/cgi.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@
144144
#
145145
# === Utility HTML escape and other methods like a function.
146146
#
147-
# There are some utility tool defined in cgi/util.rb .
147+
# There are some utility tools defined in cgi/util.rb and cgi/escape.rb.
148+
# Escape and unescape methods are defined in cgi/escape.rb.
148149
# And when include, you can use utility methods like a function.
149150
#
150151
# == Examples of use
@@ -274,14 +275,14 @@
274275
#
275276
# === Some utility methods
276277
#
277-
# require 'cgi/util'
278+
# require 'cgi/escape'
278279
# CGI.escapeHTML('Usage: foo "bar" <baz>')
279280
#
280281
#
281282
# === Some utility methods like a function
282283
#
283-
# require 'cgi/util'
284-
# include CGI::Util
284+
# require 'cgi/escape'
285+
# include CGI::Escape
285286
# escapeHTML('Usage: foo "bar" <baz>')
286287
# h('Usage: foo "bar" <baz>') # alias
287288
#

0 commit comments

Comments
 (0)