diff options
author | Stan Lo <stan001212@gmail.com> | 2023-02-18 11:34:23 +0000 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-02-18 11:34:28 +0000 |
commit | cbac0fa4cb43c8ec35683e3ae848d5fb8143c757 (patch) | |
tree | f08f3d97cc7bdaea01550c94c8a84ba94317a931 /lib/irb/workspace.rb | |
parent | de7eb5e79ae9ff6425c51eb74d0e9c3f33f9edfe (diff) |
[ruby/irb] Remove unused context argument from Worksapce#evaluate
(https://github.com/ruby/irb/pull/488)
The context argument was introduced in this change:
https://github.com/ruby/irb/commit/6806669d178f90f38b99c144bdfee06bdb93a229#diff-296327851fb7a2c307c2d0693b769f58c01aaf315972f290500d10081ee200a9
perhaps for potential usages. But after that it's never used.
Diffstat (limited to 'lib/irb/workspace.rb')
-rw-r--r-- | lib/irb/workspace.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/workspace.rb b/lib/irb/workspace.rb index 5f990940e8..30a3e5f20e 100644 --- a/lib/irb/workspace.rb +++ b/lib/irb/workspace.rb @@ -109,7 +109,7 @@ EOF attr_reader :main # Evaluate the given +statements+ within the context of this workspace. - def evaluate(context, statements, file = __FILE__, line = __LINE__) + def evaluate(statements, file = __FILE__, line = __LINE__) eval(statements, @binding, file, line) end |