Class: Lolcommits::Plugin::Tranzlate
- Inherits:
-
Base
- Object
- Base
- Lolcommits::Plugin::Tranzlate
- Extended by:
- Tranzlate::Lolspeak
- Defined in:
- lib/lolcommits/plugin/tranzlate.rb
Constant Summary
Constants included from Tranzlate::Lolspeak
Tranzlate::Lolspeak::LOL_DICTIONARY
Instance Method Summary collapse
-
#run_pre_capture ⇒ Object
Pre-capture hook, runs after lolcommits captures.
Methods included from Tranzlate::Lolspeak
Instance Method Details
#run_pre_capture ⇒ Object
Pre-capture hook, runs after lolcommits captures.
Translate the commmit message with lolspeak
17 18 19 20 21 |
# File 'lib/lolcommits/plugin/tranzlate.rb', line 17 def run_pre_capture debug "Commit message before: #{runner.}" runner. = self.class.tranzlate(runner.) debug "Commit message after: #{runner.}" end |