rbXPCOM allows a Ruby programmer both use and implement XPCOM object just like normal Ruby object. Following sample code illustrate 'use' part.
Suppose "@ruby/test/Test;1" supports following interface.
The, this component is used from Ruby like below.Currently, following features are available.
use and implement XPCOM objects by Ruby
load XPCOM objects into Ruby interpretter
load XPCOM objects implemented by Ruby into non-Ruby application
rbXPCOM still lacks following major features.
ability to run in a multithread application
security mechanism