lib/yard/templates/template.rb
# Creates a new template object to be rendered with {Template#run}
Creates a new template object to be rendered with {Template#run}
Creates a new template object to be rendered with { Template#run }
def new(*args)
          obj = Object.new.extend(self)
          obj.class = self
          obj.send(:initialize, *args)
          obj
        end
def new ( * args ) obj = Object . new . extend ( self ) obj . class = self obj . send ( :initialize , * args ) obj end
Creates a new template object to be rendered with {Template#run}
Creates a new template object to be rendered with { Template#run }
args