Module: Dsu::Support::Descriptable::ClassMethods
- Includes:
- ShortString
- Defined in:
- lib/dsu/support/descriptable.rb
Constant Summary
Constants included from ShortString
ShortString::SHORT_STRING_MAX_COUNT
Instance Method Summary collapse
Methods included from ShortString
Instance Method Details
#short_description(string:, count: ShortString::SHORT_STRING_MAX_COUNT, elipsis: '...') ⇒ Object
23 24 25 |
# File 'lib/dsu/support/descriptable.rb', line 23 def short_description(string:, count: ShortString::SHORT_STRING_MAX_COUNT, elipsis: '...') short_string(string: string, count: count, elipsis: elipsis) end |