Class RubiGen::Source
In: lib/rubigen/lookup.rb
Parent: Object

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

each   names   new  

Included Modules

Enumerable

Attributes

label  [R] 

Public Class methods

Public Instance methods

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

Return a convenient sorted list of all generator names.

[Validate]