Class: Deplate::Particle::NonCJK
- Inherits:
-
Deplate::Particle
- Object
- Deplate::Particle
- Deplate::Particle::NonCJK
- Defined in:
- lib/deplate/mod/lang-zh_CN-autospace.rb
Class Attribute Summary collapse
-
.part ⇒ Object
Returns the value of attribute part.
Instance Method Summary collapse
Class Attribute Details
.part ⇒ Object
Returns the value of attribute part.
90 91 92 |
# File 'lib/deplate/mod/lang-zh_CN-autospace.rb', line 90 def part @part end |
Instance Method Details
#process ⇒ Object
97 98 99 100 101 102 103 104 105 |
# File 'lib/deplate/mod/lang-zh_CN-autospace.rb', line 97 def process unless self.class.part particles = @@particles + @@particles_extended particles.delete(self.class) self.class.part = particles end @elt = @deplate.parse_with_particles(@container, @elt, self.class.part) @elt = @deplate.format_particles(@elt) end |
#setup ⇒ Object
93 94 95 |
# File 'lib/deplate/mod/lang-zh_CN-autospace.rb', line 93 def setup @elt = @match[0] end |