Skip to content

Add parenthesis to function def with arguments.

Ramya Authappan requested to merge github/fork/cirosantilli/def-param-paren into master

Created by: cirosantilli

find . -iname '*.rb' | xargs perl -lapi -e 's/\bdef ([^ (]+)[ ]+([^(].*)/def $1($2)/'

Merge request reports

Loading