Sha256: 6bac9b9d0b31ba437dc9239b3d28939eb550b5b0a1e3f2f86162edf3be956be1
Contents?: true
Size: 275 Bytes
Versions: 14
Compression:
Stored size: 275 Bytes
Contents
require_relative '../formatter/question_moodle_formatter' module CodeMoodleExporter def self.run(code, file) return false unless code.process? code.questions.each do |question| file.write QuestionMoodleFormatter.to_s(question) end true end end
Version data entries
14 entries across 14 versions & 1 rubygems