module Thor::Actions
def initialize(args = [], options = {}, config = {})
destination_root
and the respective option.
It also accepts :force, :skip and :pretend to set the behavior
behavior
==== Configuration
Extends initializer to add more configuration options.
def initialize(args = [], options = {}, config = {}) self.behavior = case config[:behavior].to_s when "force", "skip" _cleanup_options_and_set(options, config[:behavior]) :invoke when "revoke" :revoke else :invoke end super self.destination_root = config[:destination_root] end