Class: Erubis::PI::TinyEruby

Class | Erubis::PI::TinyEruby
In: | lib/erubis/tiny.rb
Parent: | Object

### Methods

convert evaluate new result

### Constants

EMBEDDED_PATTERN | = | /(^[ \t]*)?<\?rb(\s.*?)\?>([ \t]*\r?\n)?|@(!+)?\{(.*?)\}@/m

### Attributes

src | [R] |

### Public Class methods

new(input=nil, options={})

### Public Instance methods

convert(input)
evaluate(_context=Object.new)
result(_binding=TOPLEVEL_BINDING)

def escape_text(text)

      return text.gsub!(/['\\]/, '\\\\\&') || text

end

[Validate]