Module: RDoc

Defined in:
lib/puppet/util/rdoc/generators/template/puppet/puppet.rb,
lib/puppet/util/monkey_patches.rb,
lib/puppet/util/rdoc/code_objects.rb,
lib/puppet/util/rdoc/parser/puppet_parser_rdoc2.rb

Overview

CSS2 RDoc HTML template

This is a template for RDoc that uses XHTML 1.0 Transitional and dictates a bit more of the appearance of the output to cascading stylesheets than the default. It was designed for clean inline code display, and uses DHTMl to toggle the visbility of each method's source with each click on the '[source]' link.

Authors

Copyright © 2002, 2003 The FaerieMUD Consortium. Some rights reserved.

This work is licensed under the Creative Commons Attribution License. To view a copy of this license, visit creativecommons.org/licenses/by/1.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

Defined Under Namespace

Modules: AddClassModuleComment, Page, PuppetParserCore, PuppetTopLevel Classes: Fact, Plugin, PuppetClass, PuppetModule, PuppetNode, PuppetParserRDoc2, PuppetResource

Constant Summary collapse

PUPPET_RDOC_VERSION =
2

Class Method Summary collapse

Class Method Details

.caller(skip = nil) ⇒ Object


15
16
17
18
19
20
# File 'lib/puppet/util/monkey_patches.rb', line 15

def self.caller(skip=nil)
  in_gem_wrapper = false
  Kernel.caller.reject { |call|
    in_gem_wrapper ||= call =~ /#{Regexp.escape $0}:\d+:in `load'/
  }
end