Class

Rails::Generator::PathSource

Inheritance
< Rails::Generator::Source < Object

PathSource looks for generators in a filesystem directory.

Attributes

Name Visibility R/W Description
path public R

Methods

Class

Visibility Signature
public new (label, path)

Instance

Visibility Signature
public each () {|Spec.new(File.basename(dir), dir, label)| ...}

Class Method Detail

new(label, path)

Instance Method Detail

each() {|Spec.new(File.basename(dir), dir, label)| ...}

Yield each eligible subdirectory.