Sha256: 791c4a4a266e7397abf107a2edebf16db06110659c21c57fd6ac1da386ece616

Contents?: true

Size: 150 Bytes

Versions: 9

Compression:

Stored size: 150 Bytes

Contents

module JsonSpec
  module Messages
    def message_with_path(message)
      message << %( at path "#{@path}") if @path
      message
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
json_spec-1.1.5 lib/json_spec/messages.rb
json_spec-1.1.4 lib/json_spec/messages.rb
json_spec-1.1.3 lib/json_spec/messages.rb
json_spec-1.1.2 lib/json_spec/messages.rb
json_spec-1.1.1 lib/json_spec/messages.rb
json_spec-1.1.0 lib/json_spec/messages.rb
json_spec-1.0.3 lib/json_spec/messages.rb
json_spec-1.0.2 lib/json_spec/messages.rb
json_spec-1.0.0 lib/json_spec/messages.rb