1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

consistent parentheses in assignment RHS.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2003-10-16 17:47:19 +00:00
parent 3ec0bc3828
commit 8ef5da3be1
26 changed files with 48 additions and 48 deletions

View file

@ -69,7 +69,7 @@ class CGI
unless File::exist? path
@hash = {}
end
@p = ::PStore.new path
@p = ::PStore.new(path)
end
# Restore session state from the session's PStore file.
@ -114,7 +114,7 @@ if $0 == __FILE__
# :enddoc:
STDIN.reopen("/dev/null")
cgi = CGI.new
session = CGI::Session.new cgi, 'database_manager' => CGI::Session::PStore
session = CGI::Session.new(cgi, 'database_manager' => CGI::Session::PStore)
session['key'] = {'k' => 'v'}
puts session['key'].class
fail unless Hash === session['key']