# File lib/hammer_cli/options/option_definition.rb, line 55 def handles?(switch) message = _("Warning: Option #{switch} is deprecated. %s") if deprecated_switches.class <= String && switches.include?(switch) warn(message % deprecated_switches) elsif deprecated_switches.class <= Hash && deprecated_switches.keys.include?(switch) warn(message % deprecated_switches[switch]) end super(switch) end