Extract ruby-customization
Add ruby-mode extensions in a loop
Generalize function to swap paredit/smartparens