Module: Doing::Completion::StringUtils

Included in:
String
Defined in:
lib/doing/completion/completion_string.rb

Instance Method Summary collapse

Instance Method Details

#ltrunc(max) ⇒ Object

Truncate string from left

Parameters:

  • max —

    The maximum number of characters

#ltrunc!(max) ⇒ Object

#short_desc ⇒ String

Get short description for command completion

Returns:

  • (String) —

    Short description