Does ruby support anything like #line directives in C or Perl? or
any other way to dynamically change what ruby thinks is the current
sourcefile and sourceline in its warning and error reporting?

regards,
andrew