Module: Capistrano::Extensions::Erb
- Included in:
- Server::WebServer
- Defined in:
- lib/capistrano-exts/servers/utils/erb.rb
Instance Method Summary collapse
Instance Method Details
#render ⇒ Object
8 9 10 11 12 13 |
# File 'lib/capistrano-exts/servers/utils/erb.rb', line 8 def render sanity_check erb_template = ::ERB.new(File.read(@template)) erb_template.result(binding).strip_trailing_whitespace.strip_empty_lines end |