- Inheritance
-
< Object
A spec knows where a generator was found and how to instantiate it.
Metadata include the generator‘s name, its base path, and the source
which yielded it (PathSource, GemPathSource, etc.)
Attributes
Name |
Visibility |
R/W |
Description |
name |
public |
R |
|
path |
public |
R |
|
source |
public |
R |
|
Methods
Class
Visibility |
Signature |
public |
new (name, path, source) |
Instance
Class Method Detail
new(name, path, source)
Instance Method Detail
class_file()
class_name()
klass()
Look up the generator class. Require its class file, find the class in
ObjectSpace, tag it with this spec, and return.