mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/{cgi-lib,getopts,importenv}.rb: check caller[0] because when
required by -r option it's nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d530436d0c
commit
b0c9219402
4 changed files with 8 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
warn "Warning:#{caller[0].sub(/:in `.*'\z/, '')}: cgi-lib is deprecated after Ruby 1.8.1; use cgi instead"
|
||||
warn "Warning:#{caller[0].sub(/:in `.*'\z/, '')+':' if caller[0]} cgi-lib is deprecated after Ruby 1.8.1; use cgi instead"
|
||||
|
||||
=begin
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue