Sha256: 59ed615d905a6cc215837f96790552813b6e8798716b5a2ecc7f0461f4fcb709
Contents?: true
Size: 903 Bytes
Versions: 2
Compression:
Stored size: 903 Bytes
Contents
module Vedeu # Classes within the Output namespace handle various aspects of # rendering content. # module Output # Sends the output to the renderers. # class Output # Writes output to the defined renderers. # # @return [Array|String] # @see #initialize def self.render(output) new(output).render end # Return a new instance of Vedeu::Output::Output. # # @param output [Array<Array<Vedeu::Views::Char>>] # @return [Vedeu::Output::Output] def initialize(output) @output = output end # Send the view to the renderers. # # @return [Array] def render Vedeu::Terminal::Buffer.write(output).render end # @!attribute [r] output # @return [Array<Array<Vedeu::Views::Char>>] attr_reader :output end # Output end # Output end # Vedeu
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.6.12 | lib/vedeu/output/output.rb |
vedeu-0.6.11 | lib/vedeu/output/output.rb |