Multiple invocations of one thor task from another thor task

Discussion in 'Ruby' started by Ingo Weiss, Mar 1, 2010.

  1. Ingo Weiss

    Ingo Weiss Guest

    Hi,

    I am trying to invoke a thor task from another thor task multiple times
    with different params. Looks like the thor invocation-dependency system
    gets in the way so that only the first invocation is carried out. I
    played around with the 'remove_invocation' method but did not get it to
    work yet (see attached test script).

    Any hint that might point me in the right direction very much
    appreciated!
    Ingo

    Attachments:
    http://www.ruby-forum.com/attachment/4525/invocations.rb
     
    Ingo Weiss, Mar 1, 2010
    #1
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.