class RenderingEngine::Provider
Attributes
base_opts[R]
file_repo[R]
Public Class Methods
new(file_repo, base_opts = {})
click to toggle source
# File lib/rendering_engine/provider.rb, line 3 def initialize(file_repo, base_opts = {}) @file_repo = file_repo @base_opts = base_opts end
Public Instance Methods
get(file_path, opts = {})
click to toggle source
# File lib/rendering_engine/provider.rb, line 8 def get(file_path, opts = {}) content_opts = base_opts.merge(opts) Content.new(file_repo, file_path, content_opts) end