Created
July 24, 2016 08:07
-
-
Save AnkurVyas-BTC/8db4fa5da6e66e954fdf91b6a492d6b0 to your computer and use it in GitHub Desktop.
How to write formatted code when there are more parameters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def send_mail(source) | |
Mailer.deliver( to: '[email protected]', | |
from: '[email protected]', | |
subject: 'Message subject', | |
body: source.text) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment