Class: Sevgi::Graphics::Content::Encoded

Inherits:
Content
  • Object
show all
Defined in:
lib/sevgi/graphics/auxilary/content.rb

Instance Method Summary collapse

Instance Method Details

#render(renderer, depth) ⇒ Object



73
# File 'lib/sevgi/graphics/auxilary/content.rb', line 73

def render(renderer, depth) = renderer.append(depth + 1, to_s)

#to_sObject



71
# File 'lib/sevgi/graphics/auxilary/content.rb', line 71

def to_s = content.encode(xml: :text)