[Source]
# File kwalify/errors.rb, line 23 def initialize(message="", path=nil, value=nil, rule=nil, error_symbol=nil) super(message) @path = path @rule = rule @value = value @error_symbol = error_symbol end
# File kwalify/errors.rb, line 47 def <=>(ex) return @linenum <=> ex.linenum end
# File kwalify/errors.rb, line 39 def message _to_s end
# File kwalify/errors.rb, line 33 def path return @path == '' ? "/" : @path end
# File kwalify/errors.rb, line 43 def to_s return "[#{path()}] #{message()}" end
[Validate]