Sha256: 21bd613258625f5cdc7a48673a9ea0c137e2a663ce94e8526e8bafcc4b547716

Contents?: true

Size: 240 Bytes

Versions: 11

Compression:

Stored size: 240 Bytes

Contents

# frozen_string_literal: true

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

11 entries across 11 versions & 1 rubygems

Version Path
parametric-0.2.21 lib/parametric/results.rb
parametric-0.2.20 lib/parametric/results.rb
parametric-0.2.19 lib/parametric/results.rb
parametric-0.2.18 lib/parametric/results.rb
parametric-0.2.17 lib/parametric/results.rb
parametric-0.2.16 lib/parametric/results.rb
parametric-0.2.15 lib/parametric/results.rb
parametric-0.2.14 lib/parametric/results.rb
parametric-0.2.13 lib/parametric/results.rb
parametric-0.2.12 lib/parametric/results.rb
parametric-0.2.11 lib/parametric/results.rb