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

Version Path
gloo-lang-1.0.2 lib/gloo_lang/help/objs/ror/erb.txt
gloo-1.0.0 lib/gloo/help/objs/ror/erb.txt
gloo-lang-1.0.1 lib/gloo_lang/help/objs/ror/erb.txt
gloo-lang-1.0.0 lib/gloo_lang/help/objs/ror/erb.txt
gloo-lang-0.9.11 lib/gloo_lang/help/objs/ror/erb.txt
gloo-lang-0.9.10 lib/gloo_lang/help/objs/ror/erb.txt
gloo-lang-0.9.9 lib/gloo_lang/help/objs/ror/erb.txt
gloo-lang-0.9.8 lib/gloo_lang/help/objs/ror/erb.txt
gloo-lang-0.9.7 lib/gloo_lang/help/objs/ror/erb.txt
gloo-lang-0.9.6 lib/gloo_lang/help/objs/ror/erb.txt
gloo-lang-0.9.5 lib/gloo_lang/help/objs/ror/erb.txt
gloo-lang-0.9.4 lib/gloo_lang/help/objs/ror/erb.txt
gloo-lang-0.9.3 lib/gloo_lang/help/objs/ror/erb.txt
gloo-0.8.0 lib/gloo/help/objs/ror/erb.txt
gloo-0.7.7 lib/gloo/help/objs/ror/erb.txt
gloo-0.7.6 lib/gloo/help/objs/ror/erb.txt
gloo-0.7.5 lib/gloo/help/objs/ror/erb.txt
gloo-0.7.4 lib/gloo/help/objs/ror/erb.txt
gloo-0.7.3 lib/gloo/help/objs/ror/erb.txt
gloo-0.7.2 lib/gloo/help/objs/ror/erb.txt