Class: Docgenerator::Creole::Characters::Creole_thinsp
- Inherits:
-
Docgenerator::Creole::Creole_inclusion_and_plugin
- Object
- Docgenerator::Creole::Creole_inclusion_and_plugin
- Docgenerator::Creole::Characters::Creole_thinsp
- Defined in:
- lib/docgenerator/creole/characters.rb
Overview
Define a ‘thinsp’ as {thinsp}
Could be used as Soft hypen (­) without dash: stackoverflow.com/questions/5038920/html-soft-hypen-shy-without-dash
Instance Attribute Summary
Attributes inherited from Docgenerator::Creole::Creole_inclusion_and_plugin
Instance Method Summary collapse
Methods inherited from Docgenerator::Creole::Creole_inclusion_and_plugin
#initialize, set_inclusions_key, set_plugin_key
Constructor Details
This class inherits a constructor from Docgenerator::Creole::Creole_inclusion_and_plugin
Instance Method Details
#to_doc(target, options = {}) ⇒ Object
41 42 43 |
# File 'lib/docgenerator/creole/characters.rb', line 41 def to_doc(target, = {}) element(:thinsp).to_doc(target, ) end |