module Bundler::Thor::Actions

def action(instance) #:nodoc:

:nodoc:

Wraps an action object and call it accordingly to the thor class behavior.
def action(instance) #:nodoc:
  if behavior == :revoke
    instance.revoke!
  else
    instance.invoke!
  end
end