Method: #specgen_models_ruby

Defined in:
lib/specgen.rb

#specgen_models_ruby(spec_file: "./spec.yaml", generate_path: ".") ⇒ Object



34
35
36
37
38
39
# File 'lib/specgen.rb', line 34

def specgen_models_ruby(spec_file: "./spec.yaml", generate_path: ".")
  specgen_path = get_specgen_path
  command = "#{specgen_path} models-ruby --spec-file #{spec_file} --generate-path #{generate_path}"
  puts "Executing specgen:"
  sh command
end