lib/ripl/completion.rb in ripl-0.2.2 vs lib/ripl/completion.rb in ripl-0.2.3

- old
+ new

@@ -1,9 +1,10 @@ require 'bond' module Ripl::Completion def before_loop super - Bond.restart(config[:completion] || {}) + options = {:eval_binding=>lambda { Ripl.shell.binding }} + Bond.restart((config[:completion] || {}).merge(options)) end end Ripl::Shell.send :include, Ripl::Completion