Sha256: 47bae5db9fb840bd15bc0ca3bb1bcd46e531a8ceb287e4c9f056bed5f8ee10a0
Contents?: true
Size: 887 Bytes
Versions: 18
Compression:
Stored size: 887 Bytes
Contents
module Vedeu module Renderers # Converts a grid of {Vedeu::Char} objects into a stream of escape sequences # and content. # # @api private class Text # @param output [Array<Array<Vedeu::Char>>] # @return [String] def self.render(*output) new(*output).render end # Returns a new instance of Vedeu::Renderers::Text. # # @param output [Array<Array<Vedeu::Char>>] # @return [Vedeu::Renderers::Text] def initialize(*output) @output = output end # @return [String] def render parsed end protected # @!attribute [r] output # @return [Array<Array<Vedeu::Char>>] attr_reader :output private # @return [String] def parsed Vedeu::Compressor.render(output) end end # Text end # Renderers end # Vedeu
Version data entries
18 entries across 18 versions & 1 rubygems