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

* lib/cgi/session.rb: don't use module_function for Class.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shugo 2001-06-02 14:19:37 +00:00
parent 60e30961ff
commit b0e4eff3a4
2 changed files with 4 additions and 1 deletions

View file

@ -99,7 +99,6 @@ class CGI
def check_id(id)
/[^0-9a-zA-Z]/ =~ id.to_s ? false : true
end
module_function :check_id
def initialize(session, option={})
dir = option['tmpdir'] || ENV['TMP'] || '/tmp'