Sha256: 2ba57503ad5cc27bb2745b6290d055ac114ac6be63087cb343d5fdcfa04ff784

Contents?: true

Size: 417 Bytes

Versions: 2

Compression:

Stored size: 417 Bytes

Contents

module Lotus
  module Views
    class DefaultTemplateFinder < View::Rendering::TemplateFinder
      # Template Finder
      #
      # @since 0.2.0
      # @api private
      def initialize(view, root, template_name, format)
        @view    = view
        @root    = root
        @options = { template: template_name, format: format }
      end

      private
      def root
        @root
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lotusrb-0.6.1 lib/lotus/views/default_template_finder.rb
lotusrb-0.6.0 lib/lotus/views/default_template_finder.rb