require_relative 'generator/python_generator' require_relative 'generator/ruby_generator' require_relative 'generator/javascript_generator' module Shift module Generator def Generator::generatePython(files) generator = Shift::Generator::PythonGenerator.new files.each { | file | generator.get_data_from_file file } if(generator.builder.clean) generator.write_data else "" end end def Generator::generateRuby(files) generator = Shift::Generator::RubyGenerator.new files.each { | file | generator.get_data_from_file file } if(generator.builder.clean) generator.write_data else "" end end def Generator::generateJavaScript(files) generator = Shift::Generator::JavaScriptGenerator.new files.each { | file | generator.get_data_from_file file } if(generator.builder.clean) generator.write_data else "" end end end end