I’ve just started using these methods in Ruby 1.9 and believe I got
the API wrong previously. Instead of
remap_file(old_name, new_name) I have remap_file(new_name, old_name).
And what I had previously called “unmap”, I think now would be better
called simply “map”.
Is anyone using these LineCache methods in Ruby 1.8? Note: there is no
official release of LineCache for 1.9 yet.