class YARP::ParseWarning
This represents a warning that was encountered during parsing.
Attributes
location[R]
message[R]
Public Class Methods
new(message, location)
click to toggle source
# File yarp.rb, line 191 def initialize(message, location) @message = message @location = location end
Public Instance Methods
deconstruct_keys(keys)
click to toggle source
# File yarp.rb, line 196 def deconstruct_keys(keys) { message: message, location: location } end
inspect()
click to toggle source
# File yarp.rb, line 200 def inspect "#<YARP::ParseWarning @message=#{@message.inspect} @location=#{@location.inspect}>" end