aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/template_handler.rb
blob: 1afea21f67d42fcf38f572c29a5abd1950d1cb67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module ActionView
  class TemplateHandler
    def self.compilable?
      false
    end

    def initialize(view)
      @view = view
    end

    def render(template, local_assigns = {})
    end

    def compile(template)
    end

    def compilable?
      self.class.compilable?
    end

    # Called by CacheHelper#cache
    def cache_fragment(block, name = {}, options = nil)
    end
  end
end