module Bundler::Thor::Actions
def action(instance) #: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
def action(instance) #:nodoc: if behavior == :revoke instance.revoke! else instance.invoke! end end