Class: Rubyoshka::HTMLRenderer
- Includes:
- HTML
- Defined in:
- lib/rubyoshka/renderer.rb
Constant Summary
Constants included from HTML
Rubyoshka::HTML::S_HTML5_DOCTYPE
Constants inherited from Renderer
Renderer::R_CONST_SYM, Renderer::S_EQUAL_QUOTE, Renderer::S_GT, Renderer::S_LT, Renderer::S_LT_SLASH, Renderer::S_QUOTE, Renderer::S_SLASH_GT, Renderer::S_SPACE, Renderer::S_SPACE_LT_SLASH, Renderer::S_TAG_METHOD, Renderer::S_TAG_METHOD_LINE
Instance Attribute Summary
Attributes inherited from Renderer
Instance Method Summary collapse
Methods included from HTML
Methods inherited from Renderer
#cache, #emit, #emit_props, #emit_yield, #escape_uri, #initialize, #method_missing, #text, #to_s, #with
Constructor Details
This class inherits a constructor from Rubyoshka::Renderer
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Rubyoshka::Renderer
Instance Method Details
#escape_text(text) ⇒ Object
194 195 196 |
# File 'lib/rubyoshka/renderer.rb', line 194 def escape_text(text) EscapeUtils.escape_html(text.to_s) end |