Created
January 28, 2020 08:38
-
-
Save j4zzcat/bac171016ce6e41e8e75c60b2cafcbc2 to your computer and use it in GitHub Desktop.
Remove white space from HEREDOC
This file contains hidden or 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
class Subscription | |
def warning_message | |
<<~HEREDOC | |
Subscription expiring soon! | |
Your free trial will expire in #{days_until_expiration} days. | |
Please update your billing information. | |
HEREDOC | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment