Sha256: be6023d2e8dc50875a9c79c7090ce44c7daa49613488da23b20a11c3bb7f6aaf
Contents?: true
Size: 301 Bytes
Versions: 8
Compression:
Stored size: 301 Bytes
Contents
begin JSON.parse("test") rescue Exception => e JSON.class_eval do class << self alias old_parse parse end def self.parse(*args, &block) old_parse *args, &block rescue Exception => e raise StandardError.new e.message end end unless e.is_a? StandardError end
Version data entries
8 entries across 8 versions & 2 rubygems