Module: Erubis::Basic::Converter

Module | Erubis::Basic::Converter
In: | lib/erubis/converter.rb

basic converter which supports ’<% … %>’ notation.

### Methods

add_expr convert_input init_converter pattern_regexp

### Included Modules

Erubis::Converter

### Constants

DEFAULT_REGEXP | = | pattern_regexp('<% %>') |  | DEFAULT_REGEXP = /(.*?)(^[ \t]*)?<%(=+|\#)?(.*?)-?%>([ \t]*\r?\n)?/m DEFAULT_REGEXP = /(^[ \t]*)?<%(=+|\#)?(.*?)-?%>([ \t]*\r?\n)?/m DEFAULT_REGEXP = /<%(=+|\#)?(.*?)-?%>([ \t]*\r?\n)?/m

### Attributes

pattern | [RW] |
trim | [RW] |

### Public Instance methods

add_expr(src, code, indicator)

add expression code to src

convert_input(src, input)
init_converter(properties={})

### Protected Instance methods

pattern_regexp(pattern)

return regexp of pattern to parse eRuby script

[Validate]