Sha256: e2f0783a4de04940ba0051ee7f6ca48dbb8455860746ceabf4777522ae5cb384
Contents?: true
Size: 718 Bytes
Versions: 2
Compression:
Stored size: 718 Bytes
Contents
# encoding: utf-8 # # This file is part of the mbrao gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>. # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php. # module Mbrao # Engines used to render contents with metadata. module RenderingEngines # A base class for all renderers. class Base # Renders a content. # # @param _content [Content|String] The content to parse. # @param _options [Hash] A list of options for renderer. # @param _context [Hash] A context for rendering. def render(_content, _options = {}, _context = {}) raise Mbrao::Exceptions::Unimplemented end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mbrao-1.6.0 | lib/mbrao/rendering_engines/base.rb |
mbrao-1.5.0 | lib/mbrao/rendering_engines/base.rb |