Class: Deplate::Element

Inherits:
Object
  • Object
show all
Defined in:
lib/deplate/mod/lang-zh_CN.rb,
lib/deplate/mod/lang-zh_CN-autospace.rb

Direct Known Subclasses

Command, Define::Element, Region

Defined Under Namespace

Classes: PAGE, RegionSyntaxAlt

Instance Method Summary collapse

Instance Method Details

#join_lines(accum) ⇒ Object



14
15
16
17
18
19
20
# File 'lib/deplate/mod/lang-zh_CN.rb', line 14

def join_lines(accum)
    if @deplate.formatter.matches?('latex')
        return accum.join
    else
        return join_lines_re_zh_cn(accum)
    end
end

#join_lines_re_zh_cnObject



13
# File 'lib/deplate/mod/lang-zh_CN.rb', line 13

alias join_lines_re_zh_cn join_lines