Module: JsonSpec::Messages

Instance Method Summary collapse

Instance Method Details

#message_with_path(message) ⇒ Object



3
4
5
6
# File 'lib/json_spec/messages.rb', line 3

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