Hi!
This package does not seem to recognize squiggly heredoc style code as string.
More on those in Multiline strings in Ruby 2.3 - the squiggly heredoc.
Here's an example:
# old heredoc style, works
message = <<-HEREDOC
Subscription expiring soon!
Your free trial will expire in #{days_until_expiration} days.
Please update your billing information.
HEREDOC
# squiggly, is not recognized as string
message = <<~HEREDOC
Subscription expiring soon!
Your free trial will expire in #{days_until_expiration} days.
Please update your billing information.
HEREDOC
I suspect this is a simple regex update to match not only a "<<-", but also "<<~".
Hi!
This package does not seem to recognize squiggly heredoc style code as string.
More on those in Multiline strings in Ruby 2.3 - the squiggly heredoc.
Here's an example:
I suspect this is a simple regex update to match not only a "<<-", but also "<<~".