Sha256: 8e7ca690cdd3359ca8e78e70d8cbe56f2cb5733747e7f01b14f31cf9e0394c25

Contents?: true

Size: 209 Bytes

Versions: 15

Compression:

Stored size: 209 Bytes

Contents

module Parametric
  class Results
    attr_reader :output, :errors

    def initialize(output, errors)
      @output, @errors = output, errors
    end

    def valid?
      !errors.keys.any?
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
parametric-0.2.10 lib/parametric/results.rb
parametric-0.2.9 lib/parametric/results.rb
parametric-0.2.8 lib/parametric/results.rb
parametric-0.2.7 lib/parametric/results.rb
parametric-0.2.6 lib/parametric/results.rb
parametric-0.2.5 lib/parametric/results.rb
parametric-0.2.4 lib/parametric/results.rb
parametric-0.2.3 lib/parametric/results.rb
parametric-0.2.2 lib/parametric/results.rb
parametric-0.2.1 lib/parametric/results.rb
parametric-0.2.0 lib/parametric/results.rb
parametric-0.1.3 lib/parametric/results.rb
parametric-0.1.2 lib/parametric/results.rb
parametric-0.1.1 lib/parametric/results.rb
parametric-0.1.0 lib/parametric/results.rb