class Module

Public Instance Methods

action_library(name = nil, &block) click to toggle source
# File lib/roby/actions/library.rb, line 9
def action_library(name = nil, &block)
    if name
        create_and_register_submodel(self, name, Roby::Actions::Library, &block)
    else
        extend Roby::Actions::Models::Interface
        extend MetaRuby::ModelAsModule
        extend MetaRuby::Registration
        self.supermodel = Roby::Actions::Library
        Roby::Actions::Library.register_submodel(self)
    end
end
droby_dump(dest) click to toggle source
# File lib/roby/droby/enable.rb, line 12
def droby_dump(dest)
    raise "can't dump modules (#{self})"
end
each_fullfilled_model() { |self| ... } click to toggle source
# File lib/roby/support.rb, line 32
def each_fullfilled_model
    return enum_for(__method__) if !block_given?
    yield self
end
private_model?() click to toggle source

There are currently no way to make a module private

# File lib/roby/distributed_object.rb, line 25
def private_model?; false end
proxy_for(real_klass) click to toggle source

Declare that proxy_klass should be used to wrap objects of real_klass. Order matters: if more than one wrapping matches, we will use the one defined last.

# File lib/roby/transaction/proxying.rb, line 5
def proxy_for(real_klass)
    Roby::Transaction::Proxying.define_proxying_module(self, real_klass)
end