Sha256: bea30f55e67f35c1b316cbfac487c62550fd1602a3df80335d3a19a5599c675b

Contents?: true

Size: 530 Bytes

Versions: 19

Compression:

Stored size: 530 Bytes

Contents

module Vedeu

  module Renderers

    # A renderer which returns nothing.
    #
    class Null

      include Vedeu::RendererOptions

      # Returns a new instance of Vedeu::Renderers::Null.
      #
      # @param options [Hash]
      # @return [Vedeu::Renderers::Null]
      def initialize(options = {})
        @options = options || {}
      end

      # @param output [Array<Array<Vedeu::Views::Char>>]
      # @return [String]
      def render(output)
        output
      end

    end # Null

  end # Renderers

end # Vedeu

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
vedeu-0.6.9 lib/vedeu/output/renderers/null.rb
vedeu-0.6.8 lib/vedeu/output/renderers/null.rb
vedeu-0.6.7 lib/vedeu/output/renderers/null.rb
vedeu-0.6.6 lib/vedeu/output/renderers/null.rb
vedeu-0.6.5 lib/vedeu/output/renderers/null.rb
vedeu-0.6.4 lib/vedeu/output/renderers/null.rb
vedeu-0.6.3 lib/vedeu/output/renderers/null.rb
vedeu-0.6.2 lib/vedeu/output/renderers/null.rb
vedeu-0.6.1 lib/vedeu/output/renderers/null.rb
vedeu-0.6.0 lib/vedeu/output/renderers/null.rb
vedeu-0.5.13 lib/vedeu/output/renderers/null.rb
vedeu-0.5.12 lib/vedeu/output/renderers/null.rb
vedeu-0.5.11 lib/vedeu/output/renderers/null.rb
vedeu-0.5.10 lib/vedeu/output/renderers/null.rb
vedeu-0.5.9 lib/vedeu/output/renderers/null.rb
vedeu-0.5.8 lib/vedeu/output/renderers/null.rb
vedeu-0.5.7 lib/vedeu/output/renderers/null.rb
vedeu-0.5.6 lib/vedeu/output/renderers/null.rb
vedeu-0.5.5 lib/vedeu/output/renderers/null.rb