Class: ExportProblem2Gift
- Inherits:
-
Object
- Object
- ExportProblem2Gift
- Defined in:
- lib/asker/exporter/gift/export_problem2gift.rb
Instance Method Summary collapse
-
#call(problems, file) ⇒ Object
Export an Array of problems to gift format file.
Instance Method Details
#call(problems, file) ⇒ Object
Export an Array of problems to gift format file
7 8 9 |
# File 'lib/asker/exporter/gift/export_problem2gift.rb', line 7 def call(problems, file) problems.each { |problem| export_one(problem, file) } end |