Method: FieldGenerator#initialize
- Defined in:
-
lib/ez7gen/service/2.4/field_generator.rb,
lib/ez7gen/service/2.5/field_generator.rb
constructor
24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/ez7gen/service/2.4/field_generator.rb', line 24 def initialize(parser, helper_parser=nil) @pp = parser # Coded table value lookup profiler. Only set for custom schemas. # Custom schema has types which coming from the base schema but using coded tables from primary schema. # Also primary schemas use base type coded tables. @hp = helper_parser # dirname = File.join(File.dirname(File.expand_path(__FILE__)),'../../resources/properties.yml') propertiesFile = File.('../../../resources/properties.yml', __FILE__) @yml = YAML.load_file propertiesFile end |