Class: Mbrao::RenderingEngines::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/mbrao/rendering_engines/base.rb

Overview

A base class for all renderers.

Direct Known Subclasses

HtmlPipeline

Instance Method Summary (collapse)

Instance Method Details

- (Object) render(_content, _options = {}, _context = {})

Renders a content.

Parameters:

  • _content (Content|String)

    The content to parse.

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

    A list of options for renderer.

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

    A context for rendering.

Raises:



17
18
19
# File 'lib/mbrao/rendering_engines/base.rb', line 17

def render(_content, _options = {}, _context = {})
  raise Mbrao::Exceptions::Unimplemented.new
end