Method: Erubis::PI::TinyEruby#initialize
- Defined in:
- lib/erubis/tiny.rb
#initialize(input = nil, options = {}) ⇒ TinyEruby
Returns a new instance of TinyEruby.
80 81 82 83 |
# File 'lib/erubis/tiny.rb', line 80 def initialize(input=nil, ={}) @escape = [:escape] || 'Erubis::XmlHelper.escape_xml' @src = convert(input) if input end |