diff options
| author | Stan Lo <stan001212@gmail.com> | 2023-08-07 16:30:09 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-08-07 15:30:13 +0000 |
| commit | 0387b86c3a763fad64739ce0029d1af58253bfbf (patch) | |
| tree | f8d3ae470aa469fadfc8bea906b6b26cdf7c42dd /test/ruby/test_lambda.rb | |
| parent | 589c01c4114ba247c7b8a981ddff839f4b0507bc (diff) | |
[ruby/irb] Remove unused `InputMethod#initialize`
(https://github.com/ruby/irb/pull/635)
* Remove unused InputMethod#initialize
The constructor takes a `file_name` argument, but it is never used. The
only input method that needs a file is `FileInputMethod`, which has its
own constructor to take a file object directly.
So the constructor in `InputMethod` is not needed and its child classes
don't need to call `super` in their constructors.
* Remove unused FileInputMethod#file_name
https://github.com/ruby/irb/commit/153b1e9d1c
Diffstat (limited to 'test/ruby/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions
