Figure 1 shows the results of these commands displayed in SketchUp's Ruby Console.
图1展示了SketchUp的Ruby Console中显示的这些命令的结果。
For example, to find the version of the Sketchup application, you could enter the following command in the Ruby Console: Sketchup.version_number.
例如,为了发现Sketchup应用程序的版本,可以在Ruby Console中输入以下命令:sketchup . version_number。
When you run the application, the RDT shells out to the Ruby interpreter and runs the application within the console window at the bottom of the Eclipse workspace.
在运行应用程序时,RDT启动Ruby解释器并且在Eclipse工作区底部的一个控制台窗口中运行这个应用程序。
Ruby and Groovy developers like to brag about how they can iterate across a text file and print its contents to the console with a single line of code.
Ruby和Groovy开发人员喜欢炫耀他们如何能迭代整个文本文件并通过一行代码将其内容输出到控制台。
Ruby and Groovy developers like to brag about how they can iterate across a text file and print its contents to the console with a single line of code.
Ruby和Groovy开发人员喜欢炫耀他们如何能迭代整个文本文件并通过一行代码将其内容输出到控制台。
应用推荐