class YARD::Server::Commands::LibraryCommand
def fulldoc_template
not do any rendering/generation. We need this to access the
Hack to load a custom fulldoc template object that does
def fulldoc_template tplopts = [options.template, :fulldoc, options.format] tplclass = Templates::Engine.template(*tplopts) obj = Object.new.extend(tplclass) class << obj; define_method(:init) {} end obj.class = tplclass obj.send(:initialize, options) class << obj attr_reader :contents define_method(:asset) {|_, contents| @contents = contents } end obj end