action(instance)
Wraps an action object and call it accordingly to the thor class behavior.
# File lib/bundler/vendor/thor/lib/thor/actions.rb, line 90 def action(instance) #:nodoc: if behavior == :revoke instance.revoke! else instance.invoke! end end