Class: Generators::HtmlMethod

Class | Generators::HtmlMethod
In: | lib/generators/templates/application/merb_core/doc/rdoc/generators/merb_generator.rb lib/generators/templates/application/merb_stack/doc/rdoc/generators/merb_generator.rb
Parent: | Object

### Methods

<=> <=> add_line_numbers add_line_numbers aliases aliases all_methods all_methods aref aref call_seq call_seq create_source_code_file create_source_code_file description description document_self document_self find_symbol find_symbol markup_code markup_code name name new new params params parent_name parent_name path path reset reset scope scope section section seq seq singleton singleton visibility visibility

### Included Modules

MarkUp MarkUp

### Attributes

context | [R] |
context | [R] |
img_url | [R] |
img_url | [R] |
source_code | [R] |
source_code | [R] |
src_url | [R] |
src_url | [R] |

### Public Class methods

all_methods()
all_methods()
new(context, html_class, options)
new(context, html_class, options)
reset()
reset()

### Public Instance methods

<=>(other)
<=>(other)
add_line_numbers(src)

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

       # File xxxxx, line dddd

add_line_numbers(src)

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

       # File xxxxx, line dddd

aliases()
aliases()
aref()
aref()
call_seq()
call_seq()
create_source_code_file(code_body)
create_source_code_file(code_body)
description()
description()
document_self()
document_self()
find_symbol(symbol, method=nil)
find_symbol(symbol, method=nil)
markup_code(tokens)

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

markup_code(tokens)

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

name()

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

name()

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

params()
params()
parent_name()
parent_name()
path()
path()
scope()
scope()
section()
section()
seq()
seq()
singleton()
singleton()
visibility()
visibility()

[Validate]