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



1208
1209
1210
1211
1212
# File 'lib/deplate/regions.rb', line 1208

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

#processObject



1214
1215
1216
1217
1218
1219
1220
# File 'lib/deplate/regions.rb', line 1214

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