Sha256: b9fe02c87c184180f834107b46f0e2af26d17a214141cc566a17d2da429c8733

Contents?: true

Size: 201 Bytes

Versions: 9

Compression:

Stored size: 201 Bytes

Contents

module JsonSpec
  class MissingPathError < StandardError
    attr_reader :path

    def initialize(path)
      @path = path
    end

    def to_s
      %(Missing JSON path "#{path}")
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
json_spec-0.8.1 lib/json_spec/errors.rb
json_spec-0.8.0 lib/json_spec/errors.rb
json_spec-0.7.0 lib/json_spec/errors.rb
json_spec-0.6.0 lib/json_spec/errors.rb
json_spec-0.5.0 lib/json_spec/errors.rb
json_spec-0.4.0 lib/json_spec/errors.rb
json_spec-0.3.0 lib/json_spec/errors.rb
json_spec-0.2.0 lib/json_spec/errors.rb
json_spec-0.1.0 lib/json_spec/errors.rb