EPF是一个方法定义框架。
方法定义由def关键字开始。
您所做的就是为每个方法定义一个函数。
方法定义也可以被嵌套。
另一个局限是在方法定义中的基本时间单位。
Another limitation is just the basic timescale inherent in the method definition.
清单3给出方法定义。
看一下清单5中所示的Ruby的方法定义。
我做错了这方法定义和电话吗?
像下面这样开始一个方法定义可能看起来比较奇怪。
It may look strange to start the method definition like the following.
Scala可以让你为方法定义一个以上的参数列表。
Scala lets you define more than one argument list for a method.
造成这样意外结果的原因是在方法定义中缺少的等于号。
The cause of this unexpected behavior is a missing equals sign in the method definition.
您可以通过几种方法定义 SQL 语句组。
事实上,方法定义——def——仅仅是Ruby的宏。
In fact, method definitions — def — are no more than Ruby macros.
从新创建方法的例子中,方法定义在这个项目的开始是空白。
In the case of a new method built from scratch, the method Definition is empty at the beginning of the project.
包含方法定义的源文件,滚动到方法定义的开头。
Source file containing the method definition, scrolled to the start of the method definition.
在这个例子里,这个结构类型由一个有着特定签名的方法定义。
In this case, the structural type is defined by a method with a particular signature.
打开app/streamlined/streamlined_ui.rb文件,可以看到relationship的方法定义。
You can see the method definition for relationship by opening the app/streamlined/streamlined_ui.rb file.
打开app/streamlined/streamlined_ui.rb文件,可以看到relationship的方法定义。
You can see the method definition for relationship by opening the app/streamlined/streamlined_ui.rb file.
应用推荐