Sha256: 7196ddb886cfd204fc1d4e41a0595d158bd31ef784f70857c1fedd680af3247b
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
module Vedeu 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 if Vedeu::Configuration.drb? Vedeu.trigger(:_drb_store_output_, output) # Vedeu::Renderers::HTML. # to_file(Vedeu::Buffers::VirtualBuffers.retrieve) end Vedeu.renderers.render(output) if Vedeu.ready? end protected # @!attribute [r] output # @return [Array<Array<Vedeu::Views::Char>>] attr_reader :output end # Output end # Output end # Vedeu
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.6.9 | lib/vedeu/output/output.rb |