Sha256: cd10e63752b1e8414a62b244393a95e102af1f005f76405a13dfd6b55db2198c
Contents?: true
Size: 827 Bytes
Versions: 21
Compression:
Stored size: 827 Bytes
Contents
ERB OBJECT TYPE NAME: erb SHORTCUT: erb DESCRIPTION Use the ERB templating system to generate content. CHILDREN template - text The template that will be used the the ERB object is run. params - container The collection of children values that will be used when the template object is rendered. result - text The result of the template rendering. MESSAGES run - Render the result based on the template and the parameter values. EXAMPLE e [can] : erb [erb] : template [text] : BEGIN Hello <%= first %> <%= last %>! END params [container] : first [string] : Eric last [string] : Crane result [text] : on_load [script] : run e.erb show e.erb.result SEE ALSO eval, system, execute
Version data entries
21 entries across 21 versions & 2 rubygems