Add parenthesis to function def with arguments.
Created by: cirosantilli
find . -iname '*.rb' | xargs perl -lapi -e 's/\bdef ([^ (]+)[ ]+([^(].*)/def $1($2)/'
Created by: cirosantilli
find . -iname '*.rb' | xargs perl -lapi -e 's/\bdef ([^ (]+)[ ]+([^(].*)/def $1($2)/'