Class: Set

Inherits:
Object show all
Defined in:
lib/roby/distributed/protocol.rb

Instance Method Summary collapse

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