Class: GdsDataValidation::ValidationCheckerGenerator

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/gds-data-validation/validation_generator.rb

Defined Under Namespace

Classes: SourceGenerator

Instance Method Summary collapse

Constructor Details

#initializeValidationCheckerGenerator

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