Rails::Generator::Source


Files

Parent

Description

Sources enumerate (yield from each) generator specs which describe where to find and how to create generators. Enumerable is mixed in so, for example, source.collect will retrieve every generator. Sources may be assigned a label to distinguish them.

Methods

Included Modules

Attributes

[R]

Public Class methods

new (label)

Public Instance methods

each ()

The each method must be implemented in subclasses. The base implementation raises an error.

names ()

Return a convenient sorted list of all generator names.