cookie.rb: trailing comma

* lib/cgi/cookie.rb: add trailing comma for further lines.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-04-29 13:22:34 +00:00
parent 9547194750
commit 5d071fe381
2 changed files with 6 additions and 6 deletions

View File

@ -15,7 +15,7 @@ class CGI
# 'path' => 'path', # optional # 'path' => 'path', # optional
# 'domain' => 'domain', # optional # 'domain' => 'domain', # optional
# 'expires' => Time.now, # optional # 'expires' => Time.now, # optional
# 'secure' => true # optional # 'secure' => true, # optional
# ) # )
# #
# cgi.out("cookie" => [cookie1, cookie2]) { "string" } # cgi.out("cookie" => [cookie1, cookie2]) { "string" }

View File

@ -44,7 +44,7 @@ class CGICookieTest < Test::Unit::TestCase
'path'=>'/cgi-bin/myapp/', 'path'=>'/cgi-bin/myapp/',
'domain'=>'www.example.com', 'domain'=>'www.example.com',
'expires'=>t, 'expires'=>t,
'secure'=>true 'secure'=>true,
) )
assert_equal('name1', cookie.name) assert_equal('name1', cookie.name)
assert_equal(value, cookie.value) assert_equal(value, cookie.value)