<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/irb.rb, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/irb] Fix broken rdoc-ref caused by a typo</title>
<updated>2024-12-14T19:37:57+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-12-14T19:37:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=593b90a6d4a7d072f19b46889705370b7c3e6c11'/>
<id>593b90a6d4a7d072f19b46889705370b7c3e6c11</id>
<content type='text'>
(https://github.com/ruby/irb/pull/1049)

https://github.com/ruby/irb/commit/cdc88fe87f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/1049)

https://github.com/ruby/irb/commit/cdc88fe87f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Avoid generating documentation pages for internal</title>
<updated>2024-12-13T17:08:34+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-12-13T17:08:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=562b9fc525334eb7d77f5eb496407239efd834f2'/>
<id>562b9fc525334eb7d77f5eb496407239efd834f2</id>
<content type='text'>
components
(https://github.com/ruby/irb/pull/1047)

https://github.com/ruby/irb/commit/f57025a35e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
components
(https://github.com/ruby/irb/pull/1047)

https://github.com/ruby/irb/commit/f57025a35e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Move main object's safe call logic to Context</title>
<updated>2024-11-20T15:02:17+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-11-20T15:02:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2df2e868bc21e39ac493cebac1c981f1ed279010'/>
<id>2df2e868bc21e39ac493cebac1c981f1ed279010</id>
<content type='text'>
(https://github.com/ruby/irb/pull/1034)

https://github.com/ruby/irb/commit/9750fa23cc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/1034)

https://github.com/ruby/irb/commit/9750fa23cc
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Don't use delegator to install helper methods to main</title>
<updated>2024-11-19T13:17:11+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2024-11-19T13:17:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bc9237966412c87d0a2d64b2787d2a39a04eca65'/>
<id>bc9237966412c87d0a2d64b2787d2a39a04eca65</id>
<content type='text'>
object
(https://github.com/ruby/irb/pull/1031)

IRB used delegator to install command as a method of frozen main object.
Command is not a method now. We can drop it.

https://github.com/ruby/irb/commit/2f1c593801
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
object
(https://github.com/ruby/irb/pull/1031)

IRB used delegator to install command as a method of frozen main object.
Command is not a method now. We can drop it.

https://github.com/ruby/irb/commit/2f1c593801
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Suppress "literal string will be frozen in the future"</title>
<updated>2024-10-18T17:15:25+00:00</updated>
<author>
<name>Tsutomu Katsube</name>
<email>tsuto.katsube@gmail.com</email>
</author>
<published>2024-10-18T17:15:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f370a31578fa2545514af15f753309aa826d0ae8'/>
<id>f370a31578fa2545514af15f753309aa826d0ae8</id>
<content type='text'>
warning
(https://github.com/ruby/irb/pull/1019)

* Suppress "literal string will be frozen in the future" warning

Before change:

```console
$ ruby -W -I lib -e 'require "irb"; IRB.setup(nil); IRB::Irb.new.build_statement("1 + 2")'
/Users/zzz/src/github.com/ruby/irb/lib/irb.rb:1135: warning: literal string will be frozen in the future
```

After change:

```console
$ ruby -W -I lib -e 'require "irb"; IRB.setup(nil); IRB::Irb.new.build_statement("1 + 2")'
```

* Making build_statement not modify the given argument

Because improves readability and code quality.

Co-authored-by: tomoya ishida &lt;tomoyapenguin@gmail.com&gt;

---------

https://github.com/ruby/irb/commit/3da04b9786

Co-authored-by: tomoya ishida &lt;tomoyapenguin@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
warning
(https://github.com/ruby/irb/pull/1019)

* Suppress "literal string will be frozen in the future" warning

Before change:

```console
$ ruby -W -I lib -e 'require "irb"; IRB.setup(nil); IRB::Irb.new.build_statement("1 + 2")'
/Users/zzz/src/github.com/ruby/irb/lib/irb.rb:1135: warning: literal string will be frozen in the future
```

After change:

```console
$ ruby -W -I lib -e 'require "irb"; IRB.setup(nil); IRB::Irb.new.build_statement("1 + 2")'
```

* Making build_statement not modify the given argument

Because improves readability and code quality.

Co-authored-by: tomoya ishida &lt;tomoyapenguin@gmail.com&gt;

---------

https://github.com/ruby/irb/commit/3da04b9786

Co-authored-by: tomoya ishida &lt;tomoyapenguin@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Document infinite history</title>
<updated>2024-10-11T16:34:59+00:00</updated>
<author>
<name>Gert Goet</name>
<email>gert@thinkcreate.nl</email>
</author>
<published>2024-10-11T16:34:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=95abf679c546da0e9abf36bc9bdfc60a826b1811'/>
<id>95abf679c546da0e9abf36bc9bdfc60a826b1811</id>
<content type='text'>
(https://github.com/ruby/irb/pull/1012)

As introduced in 824473e8

https://github.com/ruby/irb/commit/15e3f50c3f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/1012)

As introduced in 824473e8

https://github.com/ruby/irb/commit/15e3f50c3f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] History refactors (https://github.com/ruby/irb/pull/1013)</title>
<updated>2024-10-11T16:34:19+00:00</updated>
<author>
<name>Gert Goet</name>
<email>gert@thinkcreate.nl</email>
</author>
<published>2024-10-11T16:34:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=eccfb6e60c2dba67ce5b1315a07598c2ba8b1ffb'/>
<id>eccfb6e60c2dba67ce5b1315a07598c2ba8b1ffb</id>
<content type='text'>
* Extract logic save_history in separate helper

* Extract logic history_file in helper

* Allow for readonly history

https://github.com/ruby/irb/commit/52307f9026
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Extract logic save_history in separate helper

* Extract logic history_file in helper

* Allow for readonly history

https://github.com/ruby/irb/commit/52307f9026
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Move parse_command method to Context</title>
<updated>2024-08-27T12:49:23+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-08-27T12:49:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=87fa75c5db2e6f89a892c0ed75f1701398ce5f19'/>
<id>87fa75c5db2e6f89a892c0ed75f1701398ce5f19</id>
<content type='text'>
(https://github.com/ruby/irb/pull/993)

Since Context dictates whether a line is a command or an expression,
moving the parse_command method to Context makes the relationship
more explicit.

https://github.com/ruby/irb/commit/9a4487af61
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/993)

Since Context dictates whether a line is a command or an expression,
moving the parse_command method to Context makes the relationship
more explicit.

https://github.com/ruby/irb/commit/9a4487af61
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Group class methods under `class &lt;&lt; self`</title>
<updated>2024-07-16T15:58:15+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-07-16T15:58:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4a4e1bf357f5b5f568ead4da0537eb4506e20e5f'/>
<id>4a4e1bf357f5b5f568ead4da0537eb4506e20e5f</id>
<content type='text'>
(https://github.com/ruby/irb/pull/981)

https://github.com/ruby/irb/commit/cdaa356df2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/981)

https://github.com/ruby/irb/commit/cdaa356df2
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Allow assigning and using local variable name conflicting</title>
<updated>2024-06-30T17:13:27+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2024-06-30T17:13:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=de2d9c8e22b59ee9be5491c1abe8ab02bee66e84'/>
<id>de2d9c8e22b59ee9be5491c1abe8ab02bee66e84</id>
<content type='text'>
with command
(https://github.com/ruby/irb/pull/961)

https://github.com/ruby/irb/commit/00603d470f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
with command
(https://github.com/ruby/irb/pull/961)

https://github.com/ruby/irb/commit/00603d470f
</pre>
</div>
</content>
</entry>
</feed>
