diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-10-10 17:20:11 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-10-15 15:47:07 +0100 |
commit | 888b838921d4460cd2dbdf4a087ede1a04c39d6d (patch) | |
tree | ea39093ff110326881359c4e0301efa1efce8ee2 /spec/lib/mail_handler/mail_handler_spec.rb | |
parent | d814cf0ee66c5e6b4ddbf34b33695c3db034b93f (diff) |
Clean up CensorRule
- Avoid self when not required
https://github.com/bbatsov/ruby-style-guide#no-self-unless-required
- Pad hashes
- Line length
- Omit paentheses for method calls with no arguments
https://github.com/bbatsov/ruby-style-guide#no-args-no-parens
- Avoid return where not required
https://github.com/bbatsov/ruby-style-guide#no-explicit-return
Diffstat (limited to 'spec/lib/mail_handler/mail_handler_spec.rb')
0 files changed, 0 insertions, 0 deletions