blob: a0ebaefeefeb8ad39db94a841fa075f2e86f7ef4 (
plain) (
tree)
|
|
module ActionView
module TemplateHandlers
module Compilable
def self.included(base)
base.extend ClassMethod
end
module ClassMethod
# If a handler is mixin this module, set compilable to true
def compilable?
true
end
end
def render(template, local_assigns = {})
@view.send(:execute, template, local_assigns)
end
end
end
end
|