branch: elpa/inf-ruby
commit 55559dfaacf58dd26819fbb1ef16d406583ae024
Author: Jason Ko <[email protected]>
Commit: Jason Ko <[email protected]>
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"