ERB
E440638
ERB (Embedded Ruby) is a templating system in Ruby that allows you to embed Ruby code within text documents, most commonly used for generating dynamic HTML in web applications.
Statements (49)
| Predicate | Object |
|---|---|
| instanceOf |
Ruby templating system
ⓘ
embedded scripting technology ⓘ software library ⓘ |
| canGenerate |
HTML
ⓘ
XML ⓘ any text-based format ⓘ plain text ⓘ |
| category |
Ruby web development tool
ⓘ
server-side templating engine ⓘ |
| commentSyntax | Ruby comment inside <%# %> delimiters ⓘ |
| commonlyUsedWith |
MVC view templates
ⓘ
Rails Action View NERFINISHED ⓘ |
| designedFor | separating presentation from logic ⓘ |
| fileExtension | .erb ⓘ |
| fullName | Embedded Ruby NERFINISHED ⓘ |
| hasAlternative |
ERubi
NERFINISHED
ⓘ
Haml NERFINISHED ⓘ Slim NERFINISHED ⓘ |
| hasClass | ERB::Util NERFINISHED ⓘ |
| hasMethod |
ERB#def_method
ⓘ
ERB#def_module ⓘ ERB#result ⓘ ERB.new ⓘ |
| implementationLanguage | Ruby NERFINISHED ⓘ |
| license | same license as Ruby (Ruby License / BSD-style) ⓘ |
| originPlatform | Ruby ecosystem ⓘ |
| outputSyntax | Ruby expression inside <%= %> delimiters ⓘ |
| partOf | Ruby standard library NERFINISHED ⓘ |
| programmingLanguage | Ruby NERFINISHED ⓘ |
| supportsCommentTag | <%# %> ⓘ |
| supportsContextBinding | Ruby Binding objects ⓘ |
| supportsControlFlow |
Ruby blocks in templates
ⓘ
if statements in templates ⓘ loops in templates ⓘ |
| supportsEmbedding | Ruby code ⓘ |
| supportsEscaping | HTML escaping via ERB::Util ⓘ |
| supportsOutputTag | <%= %> ⓘ |
| supportsScriptTag | <% %> ⓘ |
| supportsTrimMode |
%
ⓘ
- ⓘ <> ⓘ |
| templateSyntax | Ruby code inside <% %> delimiters ⓘ |
| usedFor |
embedding Ruby code in text documents
ⓘ
generating dynamic HTML ⓘ templating ⓘ view rendering in web applications ⓘ |
| usedIn |
Rack-based Ruby web frameworks
ⓘ
Ruby on Rails NERFINISHED ⓘ Sinatra NERFINISHED ⓘ |
Referenced by (2)
Full triples — surface form annotated when it differs from this entity's canonical label.