lib/vedeu/output/renderers/terminal.rb in vedeu-0.5.4 vs lib/vedeu/output/renderers/terminal.rb in vedeu-0.5.5
- old
+ new
@@ -1,11 +1,11 @@
module Vedeu
module Renderers
- # Converts a grid of {Vedeu::Char} objects into a stream of escape sequences
- # and content suitable for a terminal.
+ # Converts a grid of {Vedeu::Views::Char} objects into a stream of escape
+ # sequences and content suitable for a terminal.
#
class Terminal
include Vedeu::RendererOptions
@@ -15,19 +15,19 @@
# @return [Vedeu::Renderers::Terminal]
def initialize(options = {})
@options = options || {}
end
- # @param output [Array<Array<Vedeu::Char>>]
+ # @param output [Array<Array<Vedeu::Views::Char>>]
# @return [Array<String>]
def render(output)
Vedeu::Terminal.output(parsed(output))
end
private
- # @param output [Array<Array<Vedeu::Char>>]
- # @return [Array<Array<Vedeu::Char>>]
+ # @param output [Array<Array<Vedeu::Views::Char>>]
+ # @return [Array<Array<Vedeu::Views::Char>>]
def parsed(output)
Vedeu.timer('Compression') do
Vedeu::Compressor.render(output)
end
end