class Aws::Templates::Help::Rdoc::Artifact
Artifact
documentation generator
Aggregate
which assembled different aspects of artifact documentation such as:
-
help blurb
-
parameters description
-
defaults description
Protected Instance Methods
compose(fragments)
click to toggle source
# File lib/aws/templates/help/rdoc/artifact.rb, line 31 def compose(fragments) list(:LABEL, *fragments) end
fragment()
click to toggle source
# File lib/aws/templates/help/rdoc/artifact.rb, line 24 def fragment sub( text("\n*#{context.name}*"), text("_Parents_: #{superclasses.map(&:to_s).join('->')}") ) end
Private Instance Methods
superclasses()
click to toggle source
# File lib/aws/templates/help/rdoc/artifact.rb, line 37 def superclasses Enumerator.new do |y| s = context.superclass while s && s <= Templates::Artifact y << s s = s.superclass end end end