Sha256: c5e48cbd84a6a373dffbe101f56779ffd997a5996c5f03a42d1e37fbcd79a378

Contents?: true

Size: 523 Bytes

Versions: 14

Compression:

Stored size: 523 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::Char>>]
      # @return [String]
      def render(output)
        output
      end

    end # Null

  end # Renderers

end # Vedeu

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
vedeu-0.5.4 lib/vedeu/output/renderers/null.rb
vedeu-0.5.3 lib/vedeu/output/renderers/null.rb
vedeu-0.5.2 lib/vedeu/output/renderers/null.rb
vedeu-0.5.1 lib/vedeu/output/renderers/null.rb
vedeu-0.5.0 lib/vedeu/output/renderers/null.rb
vedeu-0.4.65 lib/vedeu/output/renderers/null.rb
vedeu-0.4.64 lib/vedeu/output/renderers/null.rb
vedeu-0.4.63 lib/vedeu/output/renderers/null.rb
vedeu-0.4.62 lib/vedeu/output/renderers/null.rb
vedeu-0.4.61 lib/vedeu/output/renderers/null.rb
vedeu-0.4.60 lib/vedeu/output/renderers/null.rb
vedeu-0.4.59 lib/vedeu/output/renderers/null.rb
vedeu-0.4.58 lib/vedeu/output/renderers/null.rb
vedeu-0.4.57 lib/vedeu/output/renderers/null.rb