Sha256: d20000b0d4096f14847e3484476879b53bcc1a0c825f4419509c912c985096f6

Contents?: true

Size: 420 Bytes

Versions: 40

Compression:

Stored size: 420 Bytes

Contents

module Vagrant
  module Config
    # A class which is passed into the various {Base#validate} methods and
    # can be used as a helper to add error messages about a single config
    # class.
    class ErrorRecorder
      attr_reader :errors

      def initialize
        @errors = []
      end

      # Adds an error to the list of errors.
      def add(message)
        @errors << message
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 6 rubygems

Version Path
bmhatfield-vagrant-1.0.10 lib/vagrant/config/error_recorder.rb
bmhatfield-vagrant-1.0.9 lib/vagrant/config/error_recorder.rb
bmhatfield-vagrant-1.0.8 lib/vagrant/config/error_recorder.rb
bmhatfield-vagrant-1.0.7 lib/vagrant/config/error_recorder.rb
vagrantup-1.0.7 lib/vagrant/config/error_recorder.rb
vagrantup-1.0.6 lib/vagrant/config/error_recorder.rb
vagrantup-1.0.5 lib/vagrant/config/error_recorder.rb
vagrantup-1.0.4 lib/vagrant/config/error_recorder.rb
vagrantup-1.0.3 lib/vagrant/config/error_recorder.rb
vagrantup-1.0.2 lib/vagrant/config/error_recorder.rb
vagrantup-1.0.1 lib/vagrant/config/error_recorder.rb
vagrantup-1.0.0 lib/vagrant/config/error_recorder.rb
vagrantup-0.9.99.2 lib/vagrant/config/error_recorder.rb
vagrantup-0.9.99.1 lib/vagrant/config/error_recorder.rb
vagrantup-0.9.7 lib/vagrant/config/error_recorder.rb
vagrantup-0.9.6 lib/vagrant/config/error_recorder.rb
vagrantup-0.9.5 lib/vagrant/config/error_recorder.rb
vagrantup-0.9.4 lib/vagrant/config/error_recorder.rb
vagrantup-0.9.3 lib/vagrant/config/error_recorder.rb
vagrantup-0.9.2 lib/vagrant/config/error_recorder.rb