class YARP::ParseError

This represents an error that was encountered during parsing.

Attributes

location[R]
message[R]

Public Class Methods

new(message, location) click to toggle source
# File yarp.rb, line 173
def initialize(message, location)
  @message = message
  @location = location
end

Public Instance Methods

deconstruct_keys(keys) click to toggle source
# File yarp.rb, line 178
def deconstruct_keys(keys)
  { message: message, location: location }
end
inspect() click to toggle source
# File yarp.rb, line 182
def inspect
  "#<YARP::ParseError @message=#{@message.inspect} @location=#{@location.inspect}>"
end