Class: Rubyoshka::XMLRenderer
- Defined in:
- lib/rubyoshka/renderer.rb
Constant Summary
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 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
200 201 202 |
# File 'lib/rubyoshka/renderer.rb', line 200 def escape_text(text) EscapeUtils.escape_xml(text.to_s) end |