Class: Stupidedi::Schema::Generation::FunctionalGroupGenerator
- Inherits:
-
Object
- Object
- Stupidedi::Schema::Generation::FunctionalGroupGenerator
- Includes:
- Support
- Defined in:
- lib/stupidedi/schema/generation/functional_group_generator.rb
Overview
Generates functional_group_def.rb - the GS/GE envelope for a release.
Instance Method Summary collapse
- #generate ⇒ Object
-
#initialize(release, namespace: "Edi") ⇒ FunctionalGroupGenerator
constructor
A new instance of FunctionalGroupGenerator.
- #output_path ⇒ Object
Methods included from Support
Constructor Details
#initialize(release, namespace: "Edi") ⇒ FunctionalGroupGenerator
Returns a new instance of FunctionalGroupGenerator.
10 11 12 13 |
# File 'lib/stupidedi/schema/generation/functional_group_generator.rb', line 10 def initialize(release, namespace: "Edi") @release = release @namespace = namespace end |
Instance Method Details
#generate ⇒ Object
15 16 17 18 |
# File 'lib/stupidedi/schema/generation/functional_group_generator.rb', line 15 def generate validate_release! build_ruby_content end |
#output_path ⇒ Object
20 21 22 |
# File 'lib/stupidedi/schema/generation/functional_group_generator.rb', line 20 def output_path "#{namespace_path}/#{underscore(version_module)}/functional_group_def.rb" end |