Class: Utils::IRB::Service::Proxy
Instance Method Summary collapse
- #eval(code) ⇒ Object
-
#initialize(irb) ⇒ Proxy
constructor
A new instance of Proxy.
- #load(filename) ⇒ Object
Constructor Details
#initialize(irb) ⇒ Proxy
Returns a new instance of Proxy.
468 469 470 |
# File 'lib/utils/irb.rb', line 468 def initialize(irb) @irb = irb end |
Instance Method Details
#eval(code) ⇒ Object
472 473 474 |
# File 'lib/utils/irb.rb', line 472 def eval(code) @irb.conf.workspace.evaluate nil, code end |