Class: GdsDataValidation::ValidationCheckerGenerator
- Inherits:
-
Object
- Object
- GdsDataValidation::ValidationCheckerGenerator
- Extended by:
- Forwardable
- Defined in:
- lib/gds-data-validation/validation_generator.rb
Defined Under Namespace
Classes: SourceGenerator
Instance Method Summary collapse
- #generate(appliedGrammar) ⇒ Object
-
#initialize ⇒ ValidationCheckerGenerator
constructor
A new instance of ValidationCheckerGenerator.
Constructor Details
#initialize ⇒ ValidationCheckerGenerator
Returns a new instance of ValidationCheckerGenerator.
59 60 61 |
# File 'lib/gds-data-validation/validation_generator.rb', line 59 def initialize @scgen = SourceGenerator.new end |
Instance Method Details
#generate(appliedGrammar) ⇒ Object
63 64 65 66 67 68 |
# File 'lib/gds-data-validation/validation_generator.rb', line 63 def generate( appliedGrammar ) reset _gen_main( appliedGrammar ) create_class end |