Class: BlockHTML::EscapedText

Inherits:
Text show all
Defined in:
lib/block-html.rb

Instance Attribute Summary

Attributes inherited from BlockHTML

#parent

Instance Method Summary collapse

Methods inherited from Text

#initialize

Methods inherited from BlockHTML

#<<, #_p, #doctype, #each, #empty?, #escaped_text, #form, #initialize, #method_missing, #p, #path, #root, #tag, #text, #to_s, #xml

Constructor Details

This class inherits a constructor from BlockHTML::Text

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class BlockHTML

Instance Method Details

#render(renderer) ⇒ Object



166
167
168
# File 'lib/block-html.rb', line 166

def render(renderer)
  renderer.escaped_text(@text)
end