Class: Vedeu::Renderers::Text
- Inherits:
-
Object
- Object
- Vedeu::Renderers::Text
- Includes:
- Vedeu::RendererOptions
- Defined in:
- lib/vedeu/output/renderers/text.rb
Overview
Converts a grid of Views::Char objects into a stream of escape sequences and content.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Vedeu::Renderers::Text
constructor
Returns a new instance of Vedeu::Renderers::Text.
- #render(output) ⇒ String
Methods included from Vedeu::RendererOptions
Constructor Details
#initialize(options = {}) ⇒ Vedeu::Renderers::Text
Returns a new instance of Vedeu::Renderers::Text.
16 17 18 |
# File 'lib/vedeu/output/renderers/text.rb', line 16 def initialize( = {}) = || {} end |
Instance Method Details
#render(output) ⇒ String
22 23 24 |
# File 'lib/vedeu/output/renderers/text.rb', line 22 def render(output) Vedeu::Output::Compressor.render(output) end |