class RainforestCli::TestParser::Error

Public Instance Methods

to_s() click to toggle source
# File lib/rainforest_cli/test_parser.rb, line 9
def to_s
  case location
  when Integer then "Line #{location}: #{reason}"
  when Symbol, String then "Field #{location}: #{reason}"
  end
end