Class: Deplate::Regions::Var

Inherits:
Deplate::Region show all
Defined in:
lib/deplate/regions.rb

Instance Method Summary collapse

Methods inherited from Deplate::Region

check_file, clean_strings, #deprecated_regnote, deprecated_regnote, #finish_accum, #format_compound, regions, register_as, set_line_cont, #setup

Methods inherited from Element

#join_lines, #join_lines_re_zh_cn

Instance Method Details

#finishObject



188
189
190
191
192
193
# File 'lib/deplate/regions.rb', line 188

def finish
    finish_accum
    id = deprecated_regnote('id')
    Deplate::Command::VAR.set_variable(@deplate, id, @accum, @args, @source)
    return nil
end