Sha256: e60b5d46541e114f3dd0bb41d3857f56e0316727e90d14a93067dcf1057a5ef4
Contents?: true
Size: 384 Bytes
Versions: 22
Compression:
Stored size: 384 Bytes
Contents
# # Easily serialize bad records in-band, for later analysis or to discard if # neglectable. # # You can instantiate this as # success = do_stuff_to record # if ! success # return BadRecord.new("do_stuff_to-failed", record) # end # class BadRecord < Struct.new( :errors, :record ) def initialize errors='', *record_fields super errors, record_fields end end
Version data entries
22 entries across 22 versions & 2 rubygems