Sha256: 5ce38c9a837b6e81046ed71b987b0dd191eb12648ee82044c9be2e8c466b50b2
Contents?: true
Size: 350 Bytes
Versions: 86
Compression:
Stored size: 350 Bytes
Contents
module TomlRB # Parent class for all TomlRB errors Error = Class.new(StandardError) # Error related to parsing. ParseError = Class.new(Error) # Overwrite error class ValueOverwriteError < Error attr_accessor :key def initialize(key) @key = key super "Key #{key.inspect} is defined more than once" end end end
Version data entries
86 entries across 86 versions & 3 rubygems