Class

Generators::HtmlMethod

Inheritance
< Object
Included Modules
MarkUp

Attributes

Name Visibility R/W Description
context public R
img_url public R
source_code public R
src_url public R

Methods

Class

Visibility Signature
public all_methods ()
public new (context, html_class, options)
public reset ()

Instance

Visibility Signature
public <=> (other)
public add_line_numbers (src)
public aliases ()
public aref ()
public as_href (from_path)
public call_seq ()
public create_source_code_file (code_body)
public description ()
public document_self ()
public find_symbol (symbol, method=nil)
public index_name ()
public markup_code (tokens)
public name ()
public params ()
public parent_name ()
public path ()
public section ()
public singleton ()
public visibility ()

Class Method Detail

all_methods()

new(context, html_class, options)

reset()

Instance Method Detail

<=>(other)

add_line_numbers(src)

we rely on the fact that the first line of a source code listing has

   # File xxxxx, line dddd

aliases()

aref()

as_href(from_path)

return a reference to outselves to be used as an href= the form depends on whether we‘re all in one file or in multiple files

call_seq()

create_source_code_file(code_body)

description()

document_self()

find_symbol(symbol, method=nil)

index_name()

markup_code(tokens)

Given a sequence of source tokens, mark up the source code to make it look purty.

name()

params()

parent_name()

path()

section()

singleton()

visibility()