Sha256: a5badc633f26869425cdfb92a0ae62888fac2ae00ba684144c77f32cfb225dc7
Contents?: true
Size: 910 Bytes
Versions: 4
Compression:
Stored size: 910 Bytes
Contents
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
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
shift-lang-0.1.4 | lib/shift-lang/generator.rb |
shift-lang-0.1.3 | lib/shift-lang/generator.rb |
shift-lang-0.1.2 | lib/shift-lang/generator.rb |
shift-lang-0.1.1 | lib/shift-lang/generator.rb |