From 0394e8e30c4f7fbf106038464109e92eb9a3c413 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 11 Apr 2002 10:03:01 +0000 Subject: * eval.c (assign): ruby_verbose should be surrounded by RTEST(). * object.c (rb_str2cstr): ditto. * parse.y (void_expr): ditto. * parse.y (void_stmts): ditto. * variable.c (rb_ivar_get): ditto. * variable.c (rb_cvar_set): ditto. * variable.c (rb_cvar_get): ditto. * dir.c (glob_helper): should have proceed link when link->path was non existing symbolic link. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/cgi.rb | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'lib') diff --git a/lib/cgi.rb b/lib/cgi.rb index 84d545f46..05b591936 100644 --- a/lib/cgi.rb +++ b/lib/cgi.rb @@ -1166,12 +1166,12 @@ convert string charset, and set language to "ja". checkbox_group("name", ["foo"], ["bar", true], "baz") # foo - # bar + # bar # baz checkbox_group("name", ["1", "Foo"], ["2", "Bar", true], "Baz") # Foo - # Bar + # Bar # Baz checkbox_group({ "NAME" => "name", @@ -1213,7 +1213,7 @@ convert string charset, and set language to "ja". # file_field("name", 40, 100) - # + # file_field({ "NAME" => "name", "SIZE" => 40 }) # @@ -1372,7 +1372,7 @@ The hash keys are case sensitive. Ask the samples. # image_button("url", "name", "string") - # + # image_button({ "SRC" => "url", "ATL" => "strng" }) # @@ -1393,10 +1393,10 @@ The hash keys are case sensitive. Ask the samples. =begin === IMG ELEMENT img("src", "alt", 100, 50) - # alt + # alt img({ "SRC" => "src", "ALT" => "alt", "WIDTH" => 100, "HEIGHT" => 50 }) - # alt + # alt =end def img(src = "", alt = "", width = nil, height = nil) attributes = if src.kind_of?(String) @@ -1450,7 +1450,7 @@ The hash keys are case sensitive. Ask the samples. # password_field("password", "value", 80, 200) - # + # password_field({ "NAME" => "name", "VALUE" => "value" }) # @@ -1536,10 +1536,10 @@ The hash keys are case sensitive. Ask the samples. =begin === RADIO_BUTTON radio_button("name", "value") - # + # radio_button("name", "value", true) - # + # radio_button({ "NAME" => "name", "VALUE" => "value", "ID" => "foo" }) # @@ -1565,12 +1565,12 @@ The hash keys are case sensitive. Ask the samples. radio_group("name", ["foo"], ["bar", true], "baz") # foo - # bar + # bar # baz radio_group("name", ["1", "Foo"], ["2", "Bar", true], "Baz") # Foo - # Bar + # Bar # Baz radio_group({ "NAME" => "name", @@ -1672,10 +1672,10 @@ The hash keys are case sensitive. Ask the samples. # text_field("name", "value", 80) - # + # text_field("name", "value", 80, 200) - # + # text_field({ "NAME" => "name", "VALUE" => "value" }) # -- cgit