Method: Thor::Option#switch_name

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

#switch_nameObject



79
80
81
# File 'lib/thor/parser/option.rb', line 79

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