A Ruby string is a first-class object.
Ruby字符串是一级对象。
The previous example contains a class object and string.
前面的示例包含一个类对象和字符串。
Instances are created by calling the class object as a function.
实例是将类对象作为函数调用而创建的。
A Cipher class object is created and initiated in the decryption mode.
这样就用解密方式创建并初始化了cipher类对象。
Next I create a Cipher class object and initiate it in encryption mode.
接着创建cipher类对象,并以加密方式对它初始化。
When the class object is constructed, the base class is remembered.
构造派生类对象时,就记住了基类。
Call this member function to retrieve the code for the class object.
调用该成员函数以检索类对象的代码。
Like a class object, the requester application is capable of treating the service as one.
如同类对象,请求者应用程序能够将服务看作是一个整体。
That is, the to_s method is called on the Class object.
也就是说,调用了Class对象的to_s方法。
Structure: Class, Object, Component, Composite Structure, Package, deployment.
结构;类、对象、组件、组合结构、包、部署。
Structure: Class, Object, Component, Composite Structure, Package, deployment.
结构;类、对象、组件、组合结构、包、部署。
应用推荐