Anyone use LineCache::remap_file or LineCache::unmap_file?

Discussion in 'Ruby' started by rocky, Oct 23, 2009.

  1. rocky

    rocky Guest

    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.
     
    rocky, Oct 23, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ross Hetherington

    linecache and comparison with input

    Ross Hetherington, Jun 30, 2007, in forum: Python
    Replies:
    2
    Views:
    376
    Ross Hetherington
    Jun 30, 2007
  2. jo3c

    linecache and glob

    jo3c, Jan 4, 2008, in forum: Python
    Replies:
    5
    Views:
    508
  3. R. Bernstein
    Replies:
    3
    Views:
    394
    R. Bernstein
    Dec 21, 2008
  4. Replies:
    1
    Views:
    589
    Peter Otten
    Oct 13, 2009
  5. Max Williams
    Replies:
    0
    Views:
    131
    Max Williams
    Jun 14, 2009
Loading...

Share This Page