# File lib/yard/code_objects/base.rb, line 490 def format(options = {}) options = options.merge(:object => self) options = options.merge(:type => type) if !options[:type] Templates::Engine.render(options) end