Method: Thor::Option#switch_name

Defined in:
lib/thor/parser/option.rb

#switch_nameObject



71
72
73
# File 'lib/thor/parser/option.rb', line 71

def switch_name
  @switch_name ||= dasherized? ? name : dasherize(name)
end