Module
GetText::ErbParser
In:
lib/gettext/tools/parser/erb.rb
Methods
detect_encoding
init
Constants
MAGIC_COMMENT
=
/\A#coding:.*\n/
Public Instance methods
detect_encoding
(erb_source)
init
(config)
Sets some preferences to parse ERB files.
config: a Hash of the config. It can takes some values below:
:extnames: An Array of target files extension. Default is [".rhtml"].
[Validate]