Class: RgGen::Generator
- Inherits:
-
Object
- Object
- RgGen::Generator
- Defined in:
- lib/rggen/generator.rb
Defined Under Namespace
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.options ⇒ Object
53 54 55 |
# File 'lib/rggen/generator.rb', line 53 def ||= [] end |
Instance Method Details
#run(argv) ⇒ Object
124 125 126 127 128 129 130 131 132 |
# File 'lib/rggen/generator.rb', line 124 def run(argv) Context.new.tap do |context| (argv, context) load_setup(context) load_configuration(context) load_register_map(context, argv.first) write_files(context) end end |