Class: Sevgi::Graphics::Content::Encoded
- Inherits:
-
Sevgi::Graphics::Content
- Object
- Sevgi::Graphics::Content
- Sevgi::Graphics::Content::Encoded
- Defined in:
- lib/sevgi/graphics/auxilary/content.rb
Instance Attribute Summary
Attributes inherited from Sevgi::Graphics::Content
Instance Method Summary collapse
Methods inherited from Sevgi::Graphics::Content
cdata, css, encoded, #initialize, text, verbatim
Constructor Details
This class inherits a constructor from Sevgi::Graphics::Content
Instance Method Details
#render(renderer, depth) ⇒ Object
70 |
# File 'lib/sevgi/graphics/auxilary/content.rb', line 70 def render(renderer, depth) = renderer.append(depth + 1, to_s) |
#to_s ⇒ Object
68 |
# File 'lib/sevgi/graphics/auxilary/content.rb', line 68 def to_s = content.to_s.encode(xml: :text) |