Class: Ovec::TexManipulator
- Inherits:
-
Object
- Object
- Ovec::TexManipulator
- Defined in:
- lib/ovec/tex_manipulator.rb
Instance Method Summary collapse
Instance Method Details
#bind(root) ⇒ Object
3 4 5 |
# File 'lib/ovec/tex_manipulator.rb', line 3 def bind(root) @root = root end |
#run_text_manipulator(manipulator) ⇒ Object
22 23 24 25 26 27 |
# File 'lib/ovec/tex_manipulator.rb', line 22 def run_text_manipulator(manipulator) @text_chunks = [] load_text_chunks_dfs(@root) manipulator.bind(@text_chunks) manipulator.run end |