Class: Deplate::Particle::Space

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

Instance Method Summary collapse

Instance Method Details

#processObject



38
39
40
41
42
43
44
# File 'lib/deplate/mod/lang-zh_CN.rb', line 38

def process
    if @deplate.formatter.matches?('latex')
        super
    else
        @elt = ' '
    end
end

#setupObject



80
81
82
# File 'lib/deplate/mod/lang-zh_CN-autospace.rb', line 80

def setup
    @elt = ' '
end