Class: Jbuilder::Schema::Template::Handler
- Inherits:
-
JbuilderHandler
- Object
- JbuilderHandler
- Jbuilder::Schema::Template::Handler
- Defined in:
- lib/jbuilder/schema/template.rb
Class Method Summary collapse
Class Method Details
.call(template, source = nil) ⇒ Object
12 13 14 |
# File 'lib/jbuilder/schema/template.rb', line 12 def self.call(template, source = nil) super.sub("JbuilderTemplate.new(self", "Jbuilder::Schema::Template.build(self, local_assigns") end |