Class: Deplate::Regions::Swallow

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



1231
1232
1233
1234
1235
# File 'lib/deplate/regions.rb', line 1231

def finish
    finish_accum
    @elt = @deplate.parsed_array_from_strings(@accum, 1 + @source.begin, @source.file)
    return self
end

#processObject



1237
1238
1239
1240
1241
1242
1243
# File 'lib/deplate/regions.rb', line 1237

def process
    process_etc
    for e in @elt
        e.process
    end
    return nil
end