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
142 143 144 145 146 |
# File 'lib/deplate/regions.rb', line 142 def finish finish_accum @elt = @deplate.parsed_array_from_strings(@accum, @source.begin, @source.file) return self end |
#process ⇒ Object
148 149 150 151 152 153 154 155 156 |
# File 'lib/deplate/regions.rb', line 148 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
158 159 160 |
# File 'lib/deplate/regions.rb', line 158 def push_styles(*args) @elt.each {|e| e.push_styles(*args)} end |