ERB(1) Ruby Programmer's Reference Guide ERB(1) NAME erb -- Ruby Templating SYNOPSIS erb [--version] [-UPdnvx] [-E ext[:int]] [-S level] [-T mode] [-r library] [--] [file ...] DESCRIPTION erb is a command line front-end for ERB library, which is an implementation of eRuby. ERB provides an easy to use but powerful templating system for Ruby. Using ERB, actual Ruby code can be added to any plain text document for the pur- poses of generating document information details and/or flow control. erb is a part of Ruby. OPTIONS --version --encodinglexternal[:internal] -P -S level -T mode -r -U --debug --help -n -v -x EXAMPLES Here is an eRuby script <% require 'prime' -%> <%= 1+1 %> <%= __FILE__ %> <%= Prime.each(10).to_a.join(", ") %> Command % erb -T - example.erb prints 2 example.erb 2, 3, 5, 7 SEE ALSO ruby(1). And see ri(1) documentation for ERB class. REPORTING BUGS * Security vulnerabilities should be reported via an email to secu- rity@ruby-lang.org. Reported problems will be published after being fixed. * Other bugs and feature requests can be reported via the Ruby Issue Tracking System (https://bugs.ruby-lang.org/). Do not report security vulnerabilities via this system because it publishes the vulnerabili- ties immediately. AUTHORS Written by Masatoshi SEKI. UNIX December 16, 2018 ERB(1)