Sha256: 85d7bf6a77c2cff21fa16449eb22ecc774de0a85937cb3331d33b6fe15bda989
Contents?: true
Size: 715 Bytes
Versions: 2
Compression:
Stored size: 715 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.new end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mbrao-1.2.3 | lib/mbrao/rendering_engines/base.rb |
mbrao-1.2.2 | lib/mbrao/rendering_engines/base.rb |