Sha256: 7579be8f4dd18d685a0d38be74451d13ecb92615ca0dba1c09ef370f44075fe3
Contents?: true
Size: 224 Bytes
Versions: 3
Compression:
Stored size: 224 Bytes
Contents
class CustomReader include ActiveModel::Validations def initialize(data = {}) @data = data end def []=(key, value) @data[key] = value end def read_attribute_for_validation(key) @data[key] end end
Version data entries
3 entries across 3 versions & 2 rubygems