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