Class: RhetButler::SlideRenderers::Textile
- Inherits:
-
RhetButler::SlideRenderer
- Object
- YamlType
- RhetButler::SlideRenderer
- RhetButler::SlideRenderers::Textile
- Defined in:
- lib/rhet-butler/slide-renderers/textile.rb
Instance Method Summary collapse
Methods inherited from RhetButler::SlideRenderer
#configure, #html_class, #normalize_config, optional_config, #positional_options, required_config, #setup_defaults
Methods inherited from YamlType
#check_config_hash, #init_with, #initialize, register, #setup_defaults, #value_from_config
Constructor Details
This class inherits a constructor from RhetButler::YamlType
Instance Method Details
#process(string) ⇒ Object
9 10 11 |
# File 'lib/rhet-butler/slide-renderers/textile.rb', line 9 def process(string) RedCloth.new(string).to_html end |