module EverydayThorUtil::Common

Public Instance Methods

add_debugging(base, option_sym, env_sym) click to toggle source
# File lib/everyday_thor_util/common.rb, line 74
def add_debugging(base, option_sym, env_sym)
  methods = base.commands.keys - base.subcommands
  methods.each { |method_name| EverydayThorUtil::CommonHelpers.define_debug_wrapper(base, env_sym, method_name, option_sym) }
  base.subcommand_classes.values.each { |c| add_debugging(c, option_sym, env_sym) }
end