class

Rails::Generator::Source

v2.1.0 - Show latest stable - Superclass: 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.

Included modules

  • Enumerable

Attributes

[R]label

Files

  • railties/lib/rails_generator/lookup.rb