The new squiggly-heredoc syntax is available since Ruby 2.3, which does the same thing as "strip_heredoc" method. I was going to submit a documentation change to mention the new Ruby syntax, but now I'm doubting if there is any good use case for the method, except for backwards compatibility. Can it be deprecated?
https://bugs.ruby-lang.org/issues/9098 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at https://groups.google.com/group/rubyonrails-core. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-core/bddc1522-bc4c-439e-9774-79ddb0154f9b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.