stffn / declarative_authorization

An unmaintained authorization plugin for Rails. Please fork to support current versions of Rails
MIT License
1.24k stars 233 forks source link

Do not put a space between a method name and the opening parenthesis #217

Closed annaswims closed 5 years ago

annaswims commented 8 years ago

use parentheses around parameters in method definitions

def each &block is interpreted differently in ruby 2.2, than def each(&block) so I decided to go ahead and clean up all method declarations to be def method_name(params)

annaswims commented 5 years ago

closing, only to get this off my list of open PR's