Operators are unsupported in COM. Therefore, the operators that are defined by ruby classes are replaced by methods in COM component:
Method “opAdd” corresponds to operator “+”,
Method “opSub” corresponds to operator “-”,
Method “opMul” corresponds to operator “*”,
Method “opDiv” corresponds to operator “/”,
Method “opPow” corresponds to operator “**” (power).
For example, the following ruby statement:
z=x+y
becomes, with COM component:
z=x.opAdd(y)
Note that the different “operator” methods defined in ruby “Post” module are also defined in the “Application” class of COM component (section VI.2.1).