Listing 6. Processing a file with erb.
清单6 .用ERb处理文件。
The ERB template for the page is shown in Listing 4.
该页面的 ERB 模板如 清单 4 所示。
To execute the code, you simply run it through ERb, as in Listing 6.
您可以简单地通过ERb运行此代码,如清单6所示。
Once you've finished designing your application, it saves it all as 100% standard ERb files.
一旦你完成你应用的设计,它会被保存为100%标准的ERb文件。
Sinatra can be used with a variety of different templating systems such as Erb, Erubis, and HAML.
在各种各样的模板系统中(例如erb、Erubis和HAML),都可以使用Sinatra。
Sometimes you may also need to use dynamic fixtures with ERb (embedded Ruby) to generate fixture data.
有时候,可能需要通过ERb(嵌入式Ruby)使用动态fixture生成fixture数据。
Daniel Erb came to the festival from Lexington and was intrigued by the subject of the science of kissing.
丹尼尔尔博从莱克星顿来参加这个节日,他对这个亲吻科学主题非常感兴趣。
The cons are poor performance next to erb, an early stage project and the fact that it's not a Rails standard.
与ERb相比性能稍逊,2)项目还处于早期状态,以及3)它不是Rails的标准之一。
So you will be able to design full-page layouts on screen as an alternative to writing ERb (embedded Ruby) templates in code.
有了它,你能够在屏幕上设计全页面的布局,而不用去写ERb(嵌入的Ruby)模板代码了。
This example combines the ERb-style substitutions with the primitive Ruby string substitutions provided with simple strings.
本例将ERb方式的替换与提供简单字符串的基本Ruby字符串替换结合了起来。
The search_ajax method finds the recipes based on the search parameter and sends that data to an ERB template for formatting.
search_ajax方法根据搜索参数查找菜谱并把数据发送给ERB模板格式化。
Rails generates a good bit of the Web pages for you, but you still need to know some basic HTML and enough Ruby to write a bit of ERb.
Rails 为您生成许多 Web 页面,但您仍旧需要了解一些基本的 HTML 和足够的 Ruby 来写出一点 ERb。
The magic happens when you’ve finished your design and the whole lot is automatically pulled apart and translated back into Rails-format ERb templates.
在你完成你的设计后,所得结果会被自动分离并转译为 Rails格式的ERb模板。
Hanspeter Erb, Head of ABB Switzerland Drives Applications, said: "Quality teamwork and customer service are decisive when driving the heart of any mining operation."
ABB瑞士驱动应用部主管Hanspeter Erb表示:“优质的团队和客户服务在驱动任何采矿作业的核心的时候都是决定性的。”
I measure my effort by the number of commands I had to enter on my terminal, the number of lines of Ruby code that I had to write, and the amount of HTML and embedded Ruby (ERb) lines I had to write.
我通过在终端输入的命令的数量、我必须输入的Ruby代码的行数,以及我必须要写的HTML和内嵌的Ruby (ERb)代码行的总量来度量我的工作。
C-erb B-2 expression correlates well with the pathologic grade and the cellular phase of the tumor and its clinical stage and might serve as a prognostic marker of ureteral and renal pelvic cancer.
其表达与肿瘤病理分期、细胞分级有关,可能是判断肾盂输尿管癌预后的一个重要指标。