Class: Vedeu::Renderers::Null

Inherits:
Object
  • Object
show all
Includes:
Vedeu::RendererOptions
Defined in:
lib/vedeu/output/renderers/null.rb

Overview

A renderer which returns nothing.

Instance Method Summary collapse

Methods included from Vedeu::RendererOptions

#defaults, #options

Constructor Details

#initialize(options = {}) ⇒ Vedeu::Renderers::Null

Returns a new instance of Vedeu::Renderers::Null.

Parameters:

  • options (Hash) (defaults to: {})


15
16
17
# File 'lib/vedeu/output/renderers/null.rb', line 15

def initialize(options = {})
  @options = options || {}
end

Instance Method Details

#render(output) ⇒ String

Parameters:

Returns:

  • (String)


21
22
23
# File 'lib/vedeu/output/renderers/null.rb', line 21

def render(output)
  output
end