lib/ddr/derivatives/generator.rb in ddr-models-2.5.3 vs lib/ddr/derivatives/generator.rb in ddr-models-2.6.0.rc1
- old
+ new
@@ -3,11 +3,9 @@
# @abstract
class Generator
attr_reader :source, :output, :options
- GeneratorResult = Struct.new(:stdout, :stderr, :status)
-
def initialize source, output, options=nil
raise ArgumentError, "Source must be a File or path to a file" unless Ddr::Utils.file_or_path?(source)
raise ArgumentError, "Output must be a File or path to a file" unless Ddr::Utils.file_or_path?(output)
@source = source
@output = output