class IRuby::PlainBackend
Public Class Methods
new()
click to toggle source
# File lib/iruby/backend.rb, line 38 def initialize require 'bond' Bond.start(debug: true) end
Public Instance Methods
complete(code)
click to toggle source
# File lib/iruby/backend.rb, line 47 def complete(code) Bond.agent.call(code, code) end
eval(code, store_history)
click to toggle source
# File lib/iruby/backend.rb, line 43 def eval(code, store_history) TOPLEVEL_BINDING.eval(code) end