•
erb
英:
美:
雇员再培训局(EmployeesRetrainingBoard).
n.
(Erb)人名;(德、法、匈)埃尔布;(泰)奕;(英)厄尔布
1、bezdopro erb ─── 不带外套
1、As you might expect, you can plug
ERb
(or the C-based eruby equivalent), right into the Apache HTTP server and invoke Web pages. ─── 正如您所预料的那样,您可以直接将
ERb
(或是基于C语言的eruby的等价物)插入ApacheHTTP服务器并调用Web页面。
2、The cons are poor performance next to
erb
, an early stage project and the fact that its not a Rails standard. ─── 与ERb相比性能稍逊,2)项目还处于早期状态,以及3)它不是Rails的标准之一。
3、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
。
4、code, you simply run it through
ERb
, as in Listing 6. ─── 您可以简单地通过
ERb
运行此代码,如清单6所示。
5、
ERB
template for the page is shown in Listing 4. ─── 该页面的
ERB
模板如 清单 4 所示。
6、This example combines the
ERb
-style substitutions with the primitive Ruby string substitutions provided with simple strings. ─── 本例将
ERb
方式的替换与提供简单字符串的基本Ruby字符串替换结合了起来。
7、Daniel
Erb
came to the festival from Lexington and was intrigued by the subject of the science of kissing. ─── 丹尼尔尔博从莱克星顿来参加这个节日,他对这个亲吻科学主题非常感兴趣。
8、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)模板代码了。
9、Listing 6. Processing a file with
erb
. ─── 清单6 .用ERb处理文件。
Cathy and Chris Erb are relieved they considered it when their son, Logan, died last year.