emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/inf-ruby 55559dfaac 144/265: fix OpenStruct.new syntax to


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 55559dfaac 144/265: fix OpenStruct.new syntax to work with ruby 1.8.7
Date: Sat, 9 Jul 2022 21:59:21 -0400 (EDT)

branch: elpa/inf-ruby
commit 55559dfaacf58dd26819fbb1ef16d406583ae024
Author: Jason Ko <jko@slideshare.com>
Commit: Jason Ko <jko@slideshare.com>

    fix OpenStruct.new syntax to work with ruby 1.8.7
---
 inf-ruby.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index edbbcf590f..a6d4b14da8 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -478,7 +478,7 @@ Then switch to the process buffer."
                    "  old_wp = defined?(Bond) && Bond.started? && 
Bond.agent.weapon;"
                    "  begin"
                    "    Bond.agent.instance_variable_set('@weapon',"
-                   "      OpenStruct.new(line_buffer: line)) if old_wp;"
+                   "      OpenStruct.new(:line_buffer => line)) if old_wp;"
                    "    if defined?(_pry_.complete) then"
                    "      puts _pry_.complete(expr)"
                    "    else"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]