2010-08-07 18:50:05 -04:00
|
|
|
loc = caller[0]
|
|
|
|
loc = loc[/\A.*:\d+:/] if loc
|
|
|
|
loc = "#{loc} " if loc
|
|
|
|
warn "#{loc}Use RbConfig instead of obsolete and deprecated Config."
|
2010-08-07 04:40:32 -04:00
|
|
|
Config = RbConfig # compatibility for ruby-1.8.4 and older.
|