Class: Poper::Rule::SingleWord
- Defined in:
- lib/poper/rule/single_word.rb
Constant Summary collapse
- MSG =
'Git commit message should consist of more than a single word'
Instance Method Summary collapse
Methods inherited from Rule
Instance Method Details
#check(message) ⇒ Object
6 7 8 |
# File 'lib/poper/rule/single_word.rb', line 6 def check() MSG if .split.count < 2 end |