mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
5f5e0b7191
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
5 lines
198 B
Ruby
5 lines
198 B
Ruby
loc = caller[0]
|
|
loc = loc[/\A.*:\d+:/] if loc
|
|
loc = "#{loc} " if loc
|
|
warn "#{loc}Use RbConfig instead of obsolete and deprecated Config."
|
|
Config = RbConfig # compatibility for ruby-1.8.4 and older.
|