Methods

GetText::ErbParser

Public Instance Methods

init(config) click to toggle source

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”].

    # File lib/gettext/tools/parser/erb.rb, line 24
24:     def init(config)
25:       config.each{|k, v|
26:         @config[k] = v
27:       }
28:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.