Class: Deplate::Region::SecondOrder
- Inherits:
-
Deplate::Region
- Object
- Element
- Deplate::Region
- Deplate::Region::SecondOrder
- Defined in:
- lib/deplate/regions.rb
Direct Known Subclasses
Deplate::Regions::Abstract, Deplate::Regions::Clip, Deplate::Regions::Footnote, Deplate::Regions::Quote, Deplate::Regions::Region
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
#finish ⇒ Object
135 136 137 138 139 |
# File 'lib/deplate/regions.rb', line 135 def finish finish_accum @elt = @deplate.parsed_array_from_strings(@accum, @source.begin, @source.file) return self end |
#process ⇒ Object
141 142 143 144 145 146 147 148 149 |
# File 'lib/deplate/regions.rb', line 141 def process process_etc @elt = @elt.collect {|e| e.process}.compact @prototype = @elt.first unless label_mode == :none @prototype.put_label(@label) if @prototype end return self end |
#push_styles(*args) ⇒ Object
151 152 153 |
# File 'lib/deplate/regions.rb', line 151 def push_styles(*args) @elt.each {|e| e.push_styles(*args)} end |