Sha256: 038f1644e6a14420571fb43e8d3d4639fa3b3d8d7e2ec074cab8454264e222a7

Contents?: true

Size: 458 Bytes

Versions: 21

Compression:

Stored size: 458 Bytes

Contents

module Hanami
  module Views
    # @api private
    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
      # @api private
      def root
        @root
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
hanami-1.3.5 lib/hanami/views/default_template_finder.rb
hanami-1.3.4 lib/hanami/views/default_template_finder.rb
hanami-1.3.3 lib/hanami/views/default_template_finder.rb
hanami-1.3.2 lib/hanami/views/default_template_finder.rb
hanami-1.3.1 lib/hanami/views/default_template_finder.rb
hanami-1.3.0 lib/hanami/views/default_template_finder.rb
hanami-1.3.0.beta1 lib/hanami/views/default_template_finder.rb
hanami-1.2.0 lib/hanami/views/default_template_finder.rb
hanami-1.2.0.rc2 lib/hanami/views/default_template_finder.rb
hanami-1.2.0.rc1 lib/hanami/views/default_template_finder.rb
hanami-1.2.0.beta2 lib/hanami/views/default_template_finder.rb
hanami-1.2.0.beta1 lib/hanami/views/default_template_finder.rb
hanami-1.1.1 lib/hanami/views/default_template_finder.rb
hanami-1.1.0 lib/hanami/views/default_template_finder.rb
hanami-1.1.0.rc1 lib/hanami/views/default_template_finder.rb
hanami-1.1.0.beta3 lib/hanami/views/default_template_finder.rb
hanami-1.1.0.beta2 lib/hanami/views/default_template_finder.rb
hanami-1.1.0.beta1 lib/hanami/views/default_template_finder.rb
hanami-1.0.0 lib/hanami/views/default_template_finder.rb
hanami-1.0.0.rc1 lib/hanami/views/default_template_finder.rb