Module: JRubyBridge::ObjectProxy
- Defined in:
- lib/jruby_bridge/object_proxy.rb
Overview
A module that patches initialization behavior to cause new instances to reside on the JRuby DRb service.
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/jruby_bridge/object_proxy.rb', line 11 def self.included(base) base.class_eval do include DRb::DRbUndumped def self.new(*args) service = Service.new_drb_object service.proxy_new(self, *args) end end end |