Sha256: 9ea9cad5c3e751c23a5ca68ce5ea9f500c8ad4ca35002587444fc9fd8a9538aa
Contents?: true
Size: 858 Bytes
Versions: 2
Compression:
Stored size: 858 Bytes
Contents
module Vedeu module Renderers # A renderer which returns nothing. # # @api private class Null # 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 private # Combines the options provided at instantiation with the default values. # # @return [Hash<Symbol => void>] def options defaults.merge!(@options) end # The default values for a new instance of this class. # # @return [Hash<Symbol => void>] def defaults {} end end # Null end # Renderers end # Vedeu
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.4.52 | lib/vedeu/output/renderers/null.rb |
vedeu-0.4.51 | lib/vedeu/output/renderers/null.rb |