Class: Module
Instance Method Summary
collapse
#task_service
Instance Method Details
#action_library(name = nil, &block) ⇒ Object
11
12
13
14
15
16
17
18
19
20
21
|
# File 'lib/roby/actions/library.rb', line 11
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) ⇒ Object
14
15
16
|
# File 'lib/roby/droby/enable.rb', line 14
def droby_dump(dest)
raise "can't dump modules (#{self})"
end
|
#droby_marshallable? ⇒ Boolean
10
11
12
|
# File 'lib/roby/droby/marshallable.rb', line 10
def droby_marshallable?
false
end
|
#each_fullfilled_model {|_self| ... } ⇒ Object
34
35
36
37
38
|
# File 'lib/roby/support.rb', line 34
def each_fullfilled_model
return enum_for(__method__) unless block_given?
yield self
end
|
#private_model? ⇒ Boolean
There are currently no way to make a module private
29
30
31
|
# File 'lib/roby/distributed_object.rb', line 29
def private_model?
false
end
|
#proxy_for(real_klass) ⇒ Object
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.