Class: YARD::Server::Commands::FramesCommand

Inherits:
DisplayObjectCommand show all
Defined in:
lib/yard/server/commands/frames_command.rb

Overview

Displays an object wrapped in frames

Since:

  • 0.6.0

Instance Method Summary collapse

Methods included from DocServerHelper

#base_path, #router, #url_for, #url_for_file, #url_for_frameset, #url_for_index, #url_for_list, #url_for_main

Constructor Details

This class inherits a constructor from YARD::Server::Commands::LibraryCommand

Instance Method Details

#runObject

Since:

  • 0.6.0



6
7
8
9
10
11
# File 'lib/yard/server/commands/frames_command.rb', line 6

def run
  options.update(:frames => true, :type => :fulldoc)
  tpl = fulldoc_template
  tpl.generate_frameset
  cache(tpl.contents)
end