Class: TrackerGitHook::MessageGenerator
- Inherits:
-
Object
- Object
- TrackerGitHook::MessageGenerator
- Defined in:
- lib/tracker_git_hook/message_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate(original_message:, story_id:) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/tracker_git_hook/message_generator.rb', line 3 def generate(original_message:, story_id:) if () else = .split("\n") = (, "[##{story_id}]") .join("\n") end end |