Class: GitAuto::Formatters::MessageFormatter
- Inherits:
-
Object
- Object
- GitAuto::Formatters::MessageFormatter
- Defined in:
- lib/git_auto/formatters/message_formatter.rb
Constant Summary collapse
- HEADER_MAX_LENGTH =
72
- BODY_LINE_MAX_LENGTH =
80
Instance Method Summary collapse
Instance Method Details
#format(message) ⇒ Object
9 10 11 12 13 |
# File 'lib/git_auto/formatters/message_formatter.rb', line 9 def format() return nil if .nil? || .strip.empty? .strip end |