<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/erb.rb, branch v4.0.3</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/erb] Prohibit def_method on marshal-loaded ERB instances</title>
<updated>2026-04-21T08:16:04+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2026-04-21T07:27:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fce0a26bca7b9a7c7e6642bd77ce0311664a4e31'/>
<id>fce0a26bca7b9a7c7e6642bd77ce0311664a4e31</id>
<content type='text'>
Extends the @_init guard to def_method so that an ERB object created
via Marshal.load (which bypasses initialize) raises ArgumentError
instead of evaluating arbitrary source. def_module and def_class both
delegate to def_method and are covered by the same check.

Co-authored-by: Tristan Madani &lt;TristanInSec@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extends the @_init guard to def_method so that an ERB object created
via Marshal.load (which bypasses initialize) raises ArgumentError
instead of evaluating arbitrary source. def_module and def_class both
delegate to def_method and are covered by the same check.

Co-authored-by: Tristan Madani &lt;TristanInSec@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Drop a deprecated constant ERB::Revision</title>
<updated>2025-11-12T21:31:58+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-11-12T21:30:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fe1f8cd129cdfc23378e2c07f59e2a84bcbc7367'/>
<id>fe1f8cd129cdfc23378e2c07f59e2a84bcbc7367</id>
<content type='text'>
https://github.com/ruby/erb/commit/1f83b2578f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/erb/commit/1f83b2578f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Drop an obsolete constant ERB::NOT_GIVEN</title>
<updated>2025-11-12T20:50:49+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-11-12T20:49:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=07e78e31c6ebd2f6add2493aa072f45a57aec3b9'/>
<id>07e78e31c6ebd2f6add2493aa072f45a57aec3b9</id>
<content type='text'>
and update some documentation

https://github.com/ruby/erb/commit/9da628f21c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and update some documentation

https://github.com/ruby/erb/commit/9da628f21c
</pre>
</div>
</content>
</entry>
<entry>
<title>Reapply "[ruby/erb] Reapply "Remove safe_level and further positional"</title>
<updated>2025-11-12T20:36:44+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-11-12T20:31:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6365d7b0a585c1cd416a52058b0daa9a87d0c8d0'/>
<id>6365d7b0a585c1cd416a52058b0daa9a87d0c8d0</id>
<content type='text'>
This reverts commit 5b6658a406b5f1c535aed4cb68e8e18a3cbabb81.

With a ruby spec fix.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 5b6658a406b5f1c535aed4cb68e8e18a3cbabb81.

With a ruby spec fix.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[ruby/erb] Reapply "Remove safe_level and further positional"</title>
<updated>2025-11-12T19:59:48+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-11-12T19:59:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5b6658a406b5f1c535aed4cb68e8e18a3cbabb81'/>
<id>5b6658a406b5f1c535aed4cb68e8e18a3cbabb81</id>
<content type='text'>
This reverts commit 6ea4f36716f8970f418f32837575405ddeea75aa.

I'll fix ruby/spec shortly. For now, let me just revert it for ruby/ruby.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 6ea4f36716f8970f418f32837575405ddeea75aa.

I'll fix ruby/spec shortly. For now, let me just revert it for ruby/ruby.
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Reapply "Remove safe_level and further positional</title>
<updated>2025-11-12T19:53:36+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashi.kokubun@shopify.com</email>
</author>
<published>2025-11-12T19:53:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6ea4f36716f8970f418f32837575405ddeea75aa'/>
<id>6ea4f36716f8970f418f32837575405ddeea75aa</id>
<content type='text'>
arguments (https://github.com/ruby/erb/pull/7)"
(https://github.com/ruby/erb/pull/95)

This reverts commit https://github.com/ruby/erb/commit/1c02d23dc618.

https://github.com/ruby/erb/commit/4162a24ecc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
arguments (https://github.com/ruby/erb/pull/7)"
(https://github.com/ruby/erb/pull/95)

This reverts commit https://github.com/ruby/erb/commit/1c02d23dc618.

https://github.com/ruby/erb/commit/4162a24ecc
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Fix tag shown in example of ERB expression tag and</title>
<updated>2025-11-05T18:01:21+00:00</updated>
<author>
<name>Sam Partington</name>
<email>sam@oxfordcodelab.com</email>
</author>
<published>2025-11-05T18:00:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7334244e001910ed1fc224cb7a59c7e9c7ae8d53'/>
<id>7334244e001910ed1fc224cb7a59c7e9c7ae8d53</id>
<content type='text'>
execution tag
(https://github.com/ruby/erb/pull/92)

These were the wrong way around.

https://github.com/ruby/erb/commit/50a5cd76fe
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
execution tag
(https://github.com/ruby/erb/pull/92)

These were the wrong way around.

https://github.com/ruby/erb/commit/50a5cd76fe
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Fix typo in documentation</title>
<updated>2025-11-02T08:21:41+00:00</updated>
<author>
<name>Alejandro Exojo</name>
<email>suy@badopi.org</email>
</author>
<published>2025-11-02T08:21:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f827b116295aa37539aa55483eedea97c31aae17'/>
<id>f827b116295aa37539aa55483eedea97c31aae17</id>
<content type='text'>
(https://github.com/ruby/erb/pull/91)

https://github.com/ruby/erb/commit/6bceee7d6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/erb/pull/91)

https://github.com/ruby/erb/commit/6bceee7d6e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Enhancements (mostly documentation)</title>
<updated>2025-09-26T15:45:35+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2025-09-26T15:45:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8836f26efa7a6deb0ef8b3f253d8d53d04d43152'/>
<id>8836f26efa7a6deb0ef8b3f253d8d53d04d43152</id>
<content type='text'>
(https://github.com/ruby/erb/pull/85)

https://github.com/ruby/erb/commit/692597b9a2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/erb/pull/85)

https://github.com/ruby/erb/commit/692597b9a2
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] [DOC] Correct two errors</title>
<updated>2025-09-22T20:11:23+00:00</updated>
<author>
<name>BurdetteLamar</name>
<email>burdettelamar@yahoo.com</email>
</author>
<published>2025-09-22T19:39:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=133e3889c1f77ca1eeedb49e19cca460f1dfa785'/>
<id>133e3889c1f77ca1eeedb49e19cca460f1dfa785</id>
<content type='text'>
https://github.com/ruby/erb/commit/1512314a3b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/erb/commit/1512314a3b
</pre>
</div>
</content>
</entry>
</feed>
