Class: Set
Instance Method Summary collapse
-
#droby_dump(dest) ⇒ Object
using Distributed.format.
-
#proxy(peer) ⇒ Object
:nodoc:.
Instance Method Details
#droby_dump(dest) ⇒ Object
using Distributed.format
124 125 126 127 128 129 |
# File 'ext/droby/dump.cc', line 124 static VALUE set_droby_dump(VALUE self, VALUE dest) { DROBY_DUMP_ITERATION_ARG arg = { rb_class_new_instance(0, 0, cSet), dest }; rb_iterate(rb_each, self, RUBY_METHOD_FUNC(appendable_dump_element), (VALUE)&arg); return arg.result; } |
#proxy(peer) ⇒ Object
:nodoc:
28 29 30 31 32 |
# File 'lib/roby/distributed/protocol.rb', line 28 def proxy(peer) # :nodoc: map do |element| catch(:ignore_this_call) { peer.proxy(element) } end.to_set end |