From: duerst via ruby-core Date: 2023-05-04T04:03:10+00:00 Subject: [ruby-core:113402] [Ruby master Feature#19015] Language extension by a heredoc Issue #19015 has been updated by duerst (Martin D�rst). @pyromaniac I think the main problem would be how to handle namespacing. With single letters, the chance of collision is very high. How does Elixir handle this? ---------------------------------------- Feature #19015: Language extension by a heredoc https://bugs.ruby-lang.org/issues/19015#change-102973 * Author: ko1 (Koichi Sasada) * Status: Open * Priority: Normal ---------------------------------------- This propose new heredoc extension with `<Hello <%= name %> erb puts html #=>
Hello ko1
``` ## Background / considerations * Sometimes we write Ruby syntax string with `<