Method: Mysh::Action#short_name
- Defined in:
- lib/mysh/action.rb
#short_name ⇒ Object
Get the name without any argument descriptions.
33 34 35 |
# File 'lib/mysh/action.rb', line 33 def short_name name.split[0] || "" end |
Get the name without any argument descriptions.
33 34 35 |
# File 'lib/mysh/action.rb', line 33 def short_name name.split[0] || "" end |