Listing 5 shows the push/pop method definitions.
清单5给出push/pop方法的定义。
Programs include class and method definitions.
程序包含类和方法的定义。
In fact, method definitions — def — are no more than Ruby macros.
事实上,方法定义——def——仅仅是Ruby的宏。
The executable code for methods is present in the form of code attributes contained within the method definitions.
方法的可执行代码以包含在方法定义中的代码属性的形式出现。
This interface includes method definitions that enable clients to get and set the properties associated with the DataObject.
该接口包含方法定义,通过方法定义,客户机可以获取和设置与数据对象相关联的属性。
Listing 1 shows the class definition and relevant method definitions for the PresenceMonitor Web service implementation class.
清单1展示了PresenceMonitorWeb服务实现类的类定义和相关方法定义。
When overridden in a derived class, returns an array of initializer objects corresponding to an input array of method definitions.
在派生类中重写时,返回与方法定义的输入数组对应的初始值设定项对象的数组。
Specific method definitions […] simply don’t matter to the REST architectural style, so it is difficult to have a style discussion about them.
特定的方法定义[...]对REST架构风格没有影响,所以对它们进行风格讨论非常困难。
Method definitions can also be nested.
方法定义也可以被嵌套。
Method definitions start with the def keyword.
方法定义由def关键字开始。
Method definitions start with the def keyword.
方法定义由def关键字开始。
应用推荐